home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX 2e document text
| default
| |
98%
| file
| LaTeX document, ASCII text
| default
| |
100%
| TrID
| LaTeX 2e document (with rem)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 69 66 66 61 6c | 73 65 20 6d 65 74 61 2d |% \iffal|se meta-|
|00000010| 63 6f 6d 6d 65 6e 74 0a | 25 0a 25 20 43 6f 70 79 |comment.|%.% Copy|
|00000020| 72 69 67 68 74 20 31 39 | 39 34 20 74 68 65 20 4c |right 19|94 the L|
|00000030| 61 54 65 58 33 20 70 72 | 6f 6a 65 63 74 20 61 6e |aTeX3 pr|oject an|
|00000040| 64 20 74 68 65 20 69 6e | 64 69 76 69 64 75 61 6c |d the in|dividual|
|00000050| 20 61 75 74 68 6f 72 73 | 2e 0a 25 20 41 6c 6c 20 | authors|..% All |
|00000060| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|00000070| 20 46 6f 72 20 66 75 72 | 74 68 65 72 20 63 6f 70 | For fur|ther cop|
|00000080| 79 72 69 67 68 74 20 69 | 6e 66 6f 72 6d 61 74 69 |yright i|nformati|
|00000090| 6f 6e 20 73 65 65 20 74 | 68 65 20 66 69 6c 65 0a |on see t|he file.|
|000000a0| 25 20 6c 65 67 61 6c 2e | 74 78 74 2c 20 61 6e 64 |% legal.|txt, and|
|000000b0| 20 61 6e 79 20 6f 74 68 | 65 72 20 63 6f 70 79 72 | any oth|er copyr|
|000000c0| 69 67 68 74 20 69 6e 64 | 69 63 61 74 65 64 20 69 |ight ind|icated i|
|000000d0| 6e 20 74 68 69 73 20 66 | 69 6c 65 2e 0a 25 20 0a |n this f|ile..% .|
|000000e0| 25 20 54 68 69 73 20 66 | 69 6c 65 20 69 73 20 70 |% This f|ile is p|
|000000f0| 61 72 74 20 6f 66 20 74 | 68 65 20 4c 61 54 65 58 |art of t|he LaTeX|
|00000100| 32 65 20 73 79 73 74 65 | 6d 2e 0a 25 20 2d 2d 2d |2e syste|m..% ---|
|00000110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000130| 2d 2d 2d 2d 2d 0a 25 20 | 0a 25 20 20 54 68 69 73 |-----.% |.% This|
|00000140| 20 73 79 73 74 65 6d 20 | 69 73 20 64 69 73 74 72 | system |is distr|
|00000150| 69 62 75 74 65 64 20 69 | 6e 20 74 68 65 20 68 6f |ibuted i|n the ho|
|00000160| 70 65 20 74 68 61 74 20 | 69 74 20 77 69 6c 6c 20 |pe that |it will |
|00000170| 62 65 20 75 73 65 66 75 | 6c 2c 0a 25 20 20 62 75 |be usefu|l,.% bu|
|00000180| 74 20 57 49 54 48 4f 55 | 54 20 41 4e 59 20 57 41 |t WITHOU|T ANY WA|
|00000190| 52 52 41 4e 54 59 3b 20 | 77 69 74 68 6f 75 74 20 |RRANTY; |without |
|000001a0| 65 76 65 6e 20 74 68 65 | 20 69 6d 70 6c 69 65 64 |even the| implied|
|000001b0| 20 77 61 72 72 61 6e 74 | 79 20 6f 66 0a 25 20 20 | warrant|y of.% |
|000001c0| 4d 45 52 43 48 41 4e 54 | 41 42 49 4c 49 54 59 20 |MERCHANT|ABILITY |
|000001d0| 6f 72 20 46 49 54 4e 45 | 53 53 20 46 4f 52 20 41 |or FITNE|SS FOR A|
|000001e0| 20 50 41 52 54 49 43 55 | 4c 41 52 20 50 55 52 50 | PARTICU|LAR PURP|
|000001f0| 4f 53 45 2e 0a 25 20 0a | 25 20 0a 25 20 49 4d 50 |OSE..% .|% .% IMP|
|00000200| 4f 52 54 41 4e 54 20 4e | 4f 54 49 43 45 3a 0a 25 |ORTANT N|OTICE:.%|
|00000210| 20 0a 25 20 46 6f 72 20 | 65 72 72 6f 72 20 72 65 | .% For |error re|
|00000220| 70 6f 72 74 73 20 69 6e | 20 63 61 73 65 20 6f 66 |ports in| case of|
|00000230| 20 55 4e 43 48 41 4e 47 | 45 44 20 76 65 72 73 69 | UNCHANG|ED versi|
|00000240| 6f 6e 73 20 73 65 65 20 | 62 75 67 73 2e 74 78 74 |ons see |bugs.txt|
|00000250| 2e 0a 25 20 0a 25 20 50 | 6c 65 61 73 65 20 64 6f |..% .% P|lease do|
|00000260| 20 6e 6f 74 20 72 65 71 | 75 65 73 74 20 75 70 64 | not req|uest upd|
|00000270| 61 74 65 73 20 66 72 6f | 6d 20 75 73 20 64 69 72 |ates fro|m us dir|
|00000280| 65 63 74 6c 79 2e 20 20 | 44 69 73 74 72 69 62 75 |ectly. |Distribu|
|00000290| 74 69 6f 6e 20 69 73 0a | 25 20 64 6f 6e 65 20 74 |tion is.|% done t|
|000002a0| 68 72 6f 75 67 68 20 4d | 61 69 6c 2d 53 65 72 76 |hrough M|ail-Serv|
|000002b0| 65 72 73 20 61 6e 64 20 | 54 65 58 20 6f 72 67 61 |ers and |TeX orga|
|000002c0| 6e 69 7a 61 74 69 6f 6e | 73 2e 0a 25 20 0a 25 20 |nization|s..% .% |
|000002d0| 59 6f 75 20 61 72 65 20 | 6e 6f 74 20 61 6c 6c 6f |You are |not allo|
|000002e0| 77 65 64 20 74 6f 20 63 | 68 61 6e 67 65 20 74 68 |wed to c|hange th|
|000002f0| 69 73 20 66 69 6c 65 2e | 0a 25 20 0a 25 20 59 6f |is file.|.% .% Yo|
|00000300| 75 20 61 72 65 20 61 6c | 6c 6f 77 65 64 20 74 6f |u are al|lowed to|
|00000310| 20 64 69 73 74 72 69 62 | 75 74 65 20 74 68 69 73 | distrib|ute this|
|00000320| 20 66 69 6c 65 20 75 6e | 64 65 72 20 74 68 65 20 | file un|der the |
|00000330| 63 6f 6e 64 69 74 69 6f | 6e 20 74 68 61 74 0a 25 |conditio|n that.%|
|00000340| 20 69 74 20 69 73 20 64 | 69 73 74 72 69 62 75 74 | it is d|istribut|
|00000350| 65 64 20 74 6f 67 65 74 | 68 65 72 20 77 69 74 68 |ed toget|her with|
|00000360| 20 61 6c 6c 20 66 69 6c | 65 73 20 6d 65 6e 74 69 | all fil|es menti|
|00000370| 6f 6e 65 64 20 69 6e 20 | 6d 61 6e 69 66 65 73 74 |oned in |manifest|
|00000380| 2e 74 78 74 2e 0a 25 20 | 0a 25 20 49 66 20 79 6f |.txt..% |.% If yo|
|00000390| 75 20 72 65 63 65 69 76 | 65 20 6f 6e 6c 79 20 73 |u receiv|e only s|
|000003a0| 6f 6d 65 20 6f 66 20 74 | 68 65 73 65 20 66 69 6c |ome of t|hese fil|
|000003b0| 65 73 20 66 72 6f 6d 20 | 73 6f 6d 65 6f 6e 65 2c |es from |someone,|
|000003c0| 20 63 6f 6d 70 6c 61 69 | 6e 21 0a 25 20 0a 25 20 | complai|n!.% .% |
|000003d0| 59 6f 75 20 61 72 65 20 | 4e 4f 54 20 41 4c 4c 4f |You are |NOT ALLO|
|000003e0| 57 45 44 20 74 6f 20 64 | 69 73 74 72 69 62 75 74 |WED to d|istribut|
|000003f0| 65 20 74 68 69 73 20 66 | 69 6c 65 20 61 6c 6f 6e |e this f|ile alon|
|00000400| 65 2e 20 20 59 6f 75 20 | 61 72 65 20 4e 4f 54 0a |e. You |are NOT.|
|00000410| 25 20 41 4c 4c 4f 57 45 | 44 20 74 6f 20 74 61 6b |% ALLOWE|D to tak|
|00000420| 65 20 6d 6f 6e 65 79 20 | 66 6f 72 20 74 68 65 20 |e money |for the |
|00000430| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 6f 72 20 |distribu|tion or |
|00000440| 75 73 65 20 6f 66 20 65 | 69 74 68 65 72 20 74 68 |use of e|ither th|
|00000450| 69 73 0a 25 20 66 69 6c | 65 20 6f 72 20 61 20 63 |is.% fil|e or a c|
|00000460| 68 61 6e 67 65 64 20 76 | 65 72 73 69 6f 6e 2c 20 |hanged v|ersion, |
|00000470| 65 78 63 65 70 74 20 66 | 6f 72 20 61 20 6e 6f 6d |except f|or a nom|
|00000480| 69 6e 61 6c 20 63 68 61 | 72 67 65 20 66 6f 72 20 |inal cha|rge for |
|00000490| 63 6f 70 79 69 6e 67 0a | 25 20 65 74 63 2e 0a 25 |copying.|% etc..%|
|000004a0| 20 5c 66 69 0a 25 0a 25 | 20 5c 69 66 66 61 6c 73 | \fi.%.%| \iffals|
|000004b0| 65 0a 25 25 25 20 46 69 | 6c 65 3a 20 6c 74 63 6c |e.%%% Fi|le: ltcl|
|000004c0| 61 73 73 0a 25 0a 25 3c | 2a 64 72 69 76 65 72 3e |ass.%.%<|*driver>|
|000004d0| 0a 25 20 5c 66 69 0a 5c | 50 72 6f 76 69 64 65 73 |.% \fi.\|Provides|
|000004e0| 46 69 6c 65 7b 6c 74 63 | 6c 61 73 73 2e 64 74 78 |File{ltc|lass.dtx|
|000004f0| 7d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5b |}. | [|
|00000500| 31 39 39 34 2f 31 31 2f | 31 37 20 76 31 2e 30 6c |1994/11/|17 v1.0l|
|00000510| 20 4c 61 54 65 58 20 4b | 65 72 6e 65 6c 20 28 43 | LaTeX K|ernel (C|
|00000520| 6c 61 73 73 20 26 20 50 | 61 63 6b 61 67 65 20 49 |lass & P|ackage I|
|00000530| 6e 74 65 72 66 61 63 65 | 29 5d 0a 25 20 5c 69 66 |nterface|)].% \if|
|00000540| 66 61 6c 73 65 0a 5c 64 | 6f 63 75 6d 65 6e 74 63 |false.\d|ocumentc|
|00000550| 6c 61 73 73 7b 6c 74 78 | 64 6f 63 7d 0a 5c 47 65 |lass{ltx|doc}.\Ge|
|00000560| 74 46 69 6c 65 49 6e 66 | 6f 7b 6c 74 63 6c 61 73 |tFileInf|o{ltclas|
|00000570| 73 2e 64 74 78 7d 0a 5c | 62 65 67 69 6e 7b 64 6f |s.dtx}.\|begin{do|
|00000580| 63 75 6d 65 6e 74 7d 0a | 5c 74 69 74 6c 65 7b 54 |cument}.|\title{T|
|00000590| 68 65 20 6d 61 69 6e 20 | 73 74 72 75 63 74 75 72 |he main |structur|
|000005a0| 65 20 6f 66 20 64 6f 63 | 75 6d 65 6e 74 73 7d 0a |e of doc|uments}.|
|000005b0| 5c 61 75 74 68 6f 72 7b | 46 72 61 6e 6b 20 4d 69 |\author{|Frank Mi|
|000005c0| 74 74 65 6c 62 61 63 68 | 5c 61 6e 64 20 43 68 72 |ttelbach|\and Chr|
|000005d0| 69 73 20 52 6f 77 6c 65 | 79 5c 61 6e 64 20 41 6c |is Rowle|y\and Al|
|000005e0| 61 6e 20 4a 65 66 66 72 | 65 79 5c 61 6e 64 0a 20 |an Jeffr|ey\and. |
|000005f0| 20 20 20 20 20 20 20 44 | 61 76 69 64 20 43 61 72 | D|avid Car|
|00000600| 6c 69 73 6c 65 7d 0a 5c | 64 61 74 65 7b 5c 66 69 |lisle}.\|date{\fi|
|00000610| 6c 65 64 61 74 65 7d 0a | 5c 6d 61 6b 65 74 69 74 |ledate}.|\maketit|
|00000620| 6c 65 0a 20 5c 44 6f 63 | 49 6e 70 75 74 7b 5c 66 |le. \Doc|Input{\f|
|00000630| 69 6c 65 6e 61 6d 65 7d | 0a 5c 65 6e 64 7b 64 6f |ilename}|.\end{do|
|00000640| 63 75 6d 65 6e 74 7d 0a | 25 3c 2f 64 72 69 76 65 |cument}.|%</drive|
|00000650| 72 3e 0a 25 20 5c 66 69 | 0a 25 0a 25 20 5c 69 66 |r>.% \fi|.%.% \if|
|00000660| 66 61 6c 73 65 0a 25 20 | 28 43 29 20 43 6f 70 79 |false.% |(C) Copy|
|00000670| 72 69 67 68 74 20 46 72 | 61 6e 6b 20 4d 69 74 74 |right Fr|ank Mitt|
|00000680| 65 6c 62 61 63 68 2c 20 | 43 68 72 69 73 20 52 6f |elbach, |Chris Ro|
|00000690| 77 6c 65 79 2c 0a 25 20 | 20 20 20 20 20 20 20 20 |wley,.% | |
|000006a0| 20 20 20 20 20 20 41 6c | 61 6e 20 4a 65 66 66 72 | Al|an Jeffr|
|000006b0| 65 79 20 61 6e 64 20 44 | 61 76 69 64 20 43 61 72 |ey and D|avid Car|
|000006c0| 6c 69 73 6c 65 20 31 39 | 39 33 2d 31 39 39 34 2e |lisle 19|93-1994.|
|000006d0| 0a 25 20 41 6c 6c 20 72 | 69 67 68 74 73 20 72 65 |.% All r|ights re|
|000006e0| 73 65 72 76 65 64 2e 0a | 25 20 5c 66 69 0a 25 0a |served..|% \fi.%.|
|000006f0| 25 20 5c 43 68 65 63 6b | 53 75 6d 7b 31 30 34 36 |% \Check|Sum{1046|
|00000700| 7d 0a 25 0a 25 20 5c 63 | 68 61 6e 67 65 73 7b 76 |}.%.% \c|hanges{v|
|00000710| 31 2e 30 66 7d 7b 31 39 | 39 34 2f 30 35 2f 32 32 |1.0f}{19|94/05/22|
|00000720| 7d 7b 55 73 65 20 6e 65 | 77 20 77 61 72 6e 69 6e |}{Use ne|w warnin|
|00000730| 67 20 61 6e 64 20 65 72 | 72 6f 72 20 63 6f 6d 6d |g and er|ror comm|
|00000740| 61 6e 64 73 7d 0a 25 20 | 5c 63 68 61 6e 67 65 73 |ands}.% |\changes|
|00000750| 7b 76 31 2e 30 6c 7d 7b | 31 39 39 34 2f 31 31 2f |{v1.0l}{|1994/11/|
|00000760| 31 37 7d 0a 25 20 20 20 | 20 20 20 20 20 20 7b 5c |17}.% | {\|
|00000770| 63 73 7b 40 74 65 6d 70 | 61 7d 20 74 6f 20 5c 63 |cs{@temp|a} to \c|
|00000780| 73 7b 72 65 73 65 72 76 | 65 64 40 61 7d 7d 0a 25 |s{reserv|ed@a}}.%|
|00000790| 0a 25 20 5c 73 65 63 74 | 69 6f 6e 7b 49 6e 74 72 |.% \sect|ion{Intr|
|000007a0| 6f 64 75 63 74 69 6f 6e | 7d 0a 25 0a 25 20 54 68 |oduction|}.%.% Th|
|000007b0| 69 73 20 66 69 6c 65 20 | 69 6d 70 6c 65 6d 65 6e |is file |implemen|
|000007c0| 74 73 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ts the f|ollowing|
|000007d0| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 73 2c 20 77 | declara|tions, w|
|000007e0| 68 69 63 68 20 72 65 70 | 6c 61 63 65 0a 25 20 7c |hich rep|lace.% ||
|000007f0| 5c 64 6f 63 75 6d 65 6e | 74 73 74 79 6c 65 7c 20 |\documen|tstyle| |
|00000800| 69 6e 20 20 5c 4c 61 54 | 65 58 65 5c 20 64 6f 63 |in \LaT|eXe\ doc|
|00000810| 75 6d 65 6e 74 73 2e 0a | 25 0a 25 20 4e 6f 74 65 |uments..|%.% Note|
|00000820| 20 74 68 61 74 20 6f 6c | 64 20 64 6f 63 75 6d 65 | that ol|d docume|
|00000830| 6e 74 73 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 7c |nts cont|aining ||
|00000840| 5c 64 6f 63 75 6d 65 6e | 74 73 74 79 6c 65 7c 20 |\documen|tstyle| |
|00000850| 77 69 6c 6c 20 62 65 20 | 72 75 6e 20 75 73 69 6e |will be |run usin|
|00000860| 67 0a 25 20 61 20 63 6f | 6d 70 61 74 69 62 69 6c |g.% a co|mpatibil|
|00000870| 69 74 79 20 6f 70 74 69 | 6f 6e 2d 2d 2d 74 68 75 |ity opti|on---thu|
|00000880| 73 20 6b 65 65 70 69 6e | 67 20 65 76 65 72 79 6f |s keepin|g everyo|
|00000890| 6e 65 20 68 61 70 70 79 | 2c 20 77 65 20 68 6f 70 |ne happy|, we hop|
|000008a0| 65 21 0a 25 0a 25 20 54 | 68 65 20 6f 76 65 72 61 |e!.%.% T|he overa|
|000008b0| 6c 6c 20 69 64 65 61 20 | 69 73 20 74 68 61 74 20 |ll idea |is that |
|000008c0| 74 68 65 72 65 20 61 72 | 65 20 74 77 6f 20 74 79 |there ar|e two ty|
|000008d0| 70 65 73 20 6f 66 20 60 | 73 74 79 6c 65 20 66 69 |pes of `|style fi|
|000008e0| 6c 65 73 27 3a 0a 25 20 | 60 63 6c 61 73 73 20 66 |les':.% |`class f|
|000008f0| 69 6c 65 73 27 20 77 68 | 69 63 68 20 64 65 66 69 |iles' wh|ich defi|
|00000900| 6e 65 20 65 6c 65 6d 65 | 6e 74 73 20 61 6e 64 20 |ne eleme|nts and |
|00000910| 70 72 6f 76 69 64 65 20 | 61 20 64 65 66 61 75 6c |provide |a defaul|
|00000920| 74 20 66 6f 72 6d 61 74 | 74 69 6e 67 0a 25 20 66 |t format|ting.% f|
|00000930| 6f 72 20 74 68 65 6d 3b | 20 20 61 6e 64 20 60 70 |or them;| and `p|
|00000940| 61 63 6b 61 67 65 73 27 | 20 77 68 69 63 68 20 70 |ackages'| which p|
|00000950| 72 6f 76 69 64 65 20 65 | 78 74 72 61 20 66 75 6e |rovide e|xtra fun|
|00000960| 63 74 69 6f 6e 61 6c 69 | 74 79 2e 20 20 4f 6e 65 |ctionali|ty. One|
|00000970| 0a 25 20 64 69 66 66 65 | 72 65 6e 63 65 20 62 65 |.% diffe|rence be|
|00000980| 74 77 65 65 6e 20 5c 4c | 61 54 65 58 65 5c 20 61 |tween \L|aTeXe\ a|
|00000990| 6e 64 20 5c 4c 61 54 65 | 58 32 2e 30 39 20 69 73 |nd \LaTe|X2.09 is|
|000009a0| 20 74 68 61 74 20 5c 4c | 61 54 65 58 65 5c 20 70 | that \L|aTeXe\ p|
|000009b0| 61 63 6b 61 67 65 73 0a | 25 20 6d 61 79 20 68 61 |ackages.|% may ha|
|000009c0| 76 65 20 6f 70 74 69 6f | 6e 73 2e 20 4e 6f 74 65 |ve optio|ns. Note|
|000009d0| 20 74 68 61 74 20 6f 70 | 74 69 6f 6e 73 20 74 6f | that op|tions to|
|000009e0| 20 63 6c 61 73 73 65 73 | 20 70 61 63 6b 61 67 65 | classes| package|
|000009f0| 73 20 6d 61 79 20 62 65 | 0a 25 20 69 6d 70 6c 65 |s may be|.% imple|
|00000a00| 6d 65 6e 74 65 64 20 73 | 75 63 68 20 74 68 61 74 |mented s|uch that|
|00000a10| 20 74 68 65 79 20 69 6e | 70 75 74 20 66 69 6c 65 | they in|put file|
|00000a20| 73 2c 20 62 75 74 20 74 | 68 65 73 65 20 66 69 6c |s, but t|hese fil|
|00000a30| 65 20 6e 61 6d 65 73 20 | 61 72 65 20 6e 6f 74 0a |e names |are not.|
|00000a40| 25 20 6e 65 63 65 73 73 | 61 72 69 6c 79 20 64 69 |% necess|arily di|
|00000a50| 72 65 63 74 6c 79 20 72 | 65 6c 61 74 65 64 20 74 |rectly r|elated t|
|00000a60| 6f 20 74 68 65 20 6f 70 | 74 69 6f 6e 20 6e 61 6d |o the op|tion nam|
|00000a70| 65 2e 0a 25 0a 25 20 5c | 73 65 63 74 69 6f 6e 7b |e..%.% \|section{|
|00000a80| 55 73 65 72 20 69 6e 74 | 65 72 66 61 63 65 7d 0a |User int|erface}.|
|00000a90| 25 0a 25 20 7c 5c 64 6f | 63 75 6d 65 6e 74 63 6c |%.% |\do|cumentcl|
|00000aa0| 61 73 73 5b 7c 5c 6d 65 | 74 61 7b 6d 61 69 6e 2d |ass[|\me|ta{main-|
|00000ab0| 6f 70 74 69 6f 6e 2d 6c | 69 73 74 7d 7c 5d 7b 7c |option-l|ist}|]{||
|00000ac0| 5e 5e 41 0a 25 20 20 20 | 5c 6d 65 74 61 7b 63 6c |^^A.% |\meta{cl|
|00000ad0| 61 73 73 7d 7c 7d 5b 7c | 5c 6d 65 74 61 7b 76 65 |ass}|}[||\meta{ve|
|00000ae0| 72 73 69 6f 6e 7d 7c 5d | 7c 0a 25 0a 25 20 54 68 |rsion}|]||.%.% Th|
|00000af0| 65 72 65 20 6d 75 73 74 | 20 62 65 20 65 78 61 63 |ere must| be exac|
|00000b00| 74 6c 79 20 6f 6e 65 20 | 73 75 63 68 20 64 65 63 |tly one |such dec|
|00000b10| 6c 61 72 61 74 69 6f 6e | 2c 20 61 6e 64 20 69 74 |laration|, and it|
|00000b20| 20 6d 75 73 74 20 63 6f | 6d 65 20 66 69 72 73 74 | must co|me first|
|00000b30| 2e 0a 25 20 54 68 65 20 | 5c 6d 65 74 61 7b 6d 61 |..% The |\meta{ma|
|00000b40| 69 6e 2d 6f 70 74 69 6f | 6e 2d 6c 69 73 74 7d 20 |in-optio|n-list} |
|00000b50| 69 73 20 61 20 6c 69 73 | 74 20 6f 66 20 6f 70 74 |is a lis|t of opt|
|00000b60| 69 6f 6e 73 20 77 68 69 | 63 68 20 63 61 6e 20 6d |ions whi|ch can m|
|00000b70| 6f 64 69 66 79 20 74 68 | 65 0a 25 20 66 6f 72 6d |odify th|e.% form|
|00000b80| 61 74 74 69 6e 67 20 6f | 66 20 65 6c 65 6d 65 6e |atting o|f elemen|
|00000b90| 74 73 20 77 68 69 63 68 | 20 61 72 65 20 64 65 66 |ts which| are def|
|00000ba0| 69 6e 65 64 20 69 6e 20 | 74 68 65 20 5c 6d 65 74 |ined in |the \met|
|00000bb0| 61 7b 63 6c 61 73 73 7d | 20 66 69 6c 65 0a 25 20 |a{class}| file.% |
|00000bc0| 61 73 20 77 65 6c 6c 20 | 61 73 20 69 6e 20 61 6c |as well |as in al|
|00000bd0| 6c 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 7c 5c 75 73 |l follow|ing |\us|
|00000be0| 65 70 61 63 6b 61 67 65 | 7c 20 64 65 63 6c 61 72 |epackage|| declar|
|00000bf0| 61 74 69 6f 6e 73 20 28 | 73 65 65 20 62 65 6c 6f |ations (|see belo|
|00000c00| 77 29 2e 20 0a 25 20 54 | 68 65 20 5c 6d 65 74 61 |w). .% T|he \meta|
|00000c10| 7b 76 65 72 73 69 6f 6e | 7d 20 69 73 20 61 20 76 |{version|} is a v|
|00000c20| 65 72 73 69 6f 6e 20 6e | 75 6d 62 65 72 2c 20 62 |ersion n|umber, b|
|00000c30| 65 67 69 6e 6e 69 6e 67 | 20 77 69 74 68 20 61 20 |eginning| with a |
|00000c40| 64 61 74 65 20 69 6e 20 | 74 68 65 0a 25 20 66 6f |date in |the.% fo|
|00000c50| 72 6d 61 74 20 7c 59 59 | 59 59 2f 4d 4d 2f 44 44 |rmat |YY|YY/MM/DD|
|00000c60| 7c 2e 20 20 49 66 20 61 | 6e 20 6f 6c 64 65 72 20 ||. If a|n older |
|00000c70| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 65 20 63 |version |of the c|
|00000c80| 6c 61 73 73 20 69 73 20 | 66 6f 75 6e 64 2c 20 61 |lass is |found, a|
|00000c90| 0a 25 20 77 61 72 6e 69 | 6e 67 20 69 73 20 69 73 |.% warni|ng is is|
|00000ca0| 73 75 65 64 2e 0a 25 0a | 25 20 5c 62 69 67 73 6b |sued..%.|% \bigsk|
|00000cb0| 69 70 0a 25 0a 25 20 7c | 5c 64 6f 63 75 6d 65 6e |ip.%.% ||\documen|
|00000cc0| 74 73 74 79 6c 65 5b 7c | 5c 6d 65 74 61 7b 6d 61 |tstyle[||\meta{ma|
|00000cd0| 69 6e 2d 6f 70 74 69 6f | 6e 2d 6c 69 73 74 7d 7c |in-optio|n-list}||
|00000ce0| 5d 7b 7c 5e 5e 41 0a 25 | 20 20 20 5c 6d 65 74 61 |]{|^^A.%| \meta|
|00000cf0| 7b 63 6c 61 73 73 7d 7c | 7d 5b 7c 5c 6d 65 74 61 |{class}||}[|\meta|
|00000d00| 7b 76 65 72 73 69 6f 6e | 7d 7c 5d 7c 0a 25 0a 25 |{version|}|]|.%.%|
|00000d10| 20 54 68 65 20 7c 5c 64 | 6f 63 75 6d 65 6e 74 73 | The |\d|ocuments|
|00000d20| 74 79 6c 65 7c 20 64 65 | 63 6c 61 72 61 74 69 6f |tyle| de|claratio|
|00000d30| 6e 20 69 73 20 6b 65 70 | 74 20 69 6e 20 6f 72 64 |n is kep|t in ord|
|00000d40| 65 72 20 74 6f 20 6d 61 | 69 6e 74 61 69 6e 20 75 |er to ma|intain u|
|00000d50| 70 77 61 72 64 0a 25 20 | 63 6f 6d 70 61 74 69 62 |pward.% |compatib|
|00000d60| 69 6c 69 74 79 20 77 69 | 74 68 20 5c 4c 61 54 65 |ility wi|th \LaTe|
|00000d70| 58 32 2e 30 39 20 64 6f | 63 75 6d 65 6e 74 73 2e |X2.09 do|cuments.|
|00000d80| 20 20 49 74 20 69 73 20 | 73 69 6d 69 6c 61 72 20 | It is |similar |
|00000d90| 74 6f 0a 25 20 7c 5c 64 | 6f 63 75 6d 65 6e 74 63 |to.% |\d|ocumentc|
|00000da0| 6c 61 73 73 7c 2c 20 62 | 75 74 20 69 74 20 63 61 |lass|, b|ut it ca|
|00000db0| 75 73 65 73 20 61 6c 6c | 20 6f 70 74 69 6f 6e 73 |uses all| options|
|00000dc0| 20 69 6e 0a 25 20 5c 6d | 65 74 61 7b 6d 61 69 6e | in.% \m|eta{main|
|00000dd0| 2d 6f 70 74 69 6f 6e 2d | 6c 69 73 74 7d 20 74 68 |-option-|list} th|
|00000de0| 61 74 20 74 68 65 20 5c | 6d 65 74 61 7b 63 6c 61 |at the \|meta{cla|
|00000df0| 73 73 7d 20 64 6f 65 73 | 20 6e 6f 74 20 75 73 65 |ss} does| not use|
|00000e00| 20 74 6f 20 62 65 0a 25 | 20 70 61 73 73 65 64 20 | to be.%| passed |
|00000e10| 74 6f 20 7c 5c 52 65 71 | 75 69 72 65 50 61 63 6b |to |\Req|uirePack|
|00000e20| 61 67 65 7c 20 61 66 74 | 65 72 20 74 68 65 20 6f |age| aft|er the o|
|00000e30| 70 74 69 6f 6e 73 20 68 | 61 76 65 20 62 65 65 6e |ptions h|ave been|
|00000e40| 20 70 72 6f 63 65 73 73 | 65 64 2e 0a 25 20 54 68 | process|ed..% Th|
|00000e50| 69 73 20 6d 61 69 6e 74 | 61 69 6e 73 20 63 6f 6d |is maint|ains com|
|00000e60| 70 61 74 69 62 69 6c 69 | 74 79 20 77 69 74 68 20 |patibili|ty with |
|00000e70| 74 68 65 20 32 2e 30 39 | 20 62 65 68 61 76 69 6f |the 2.09| behavio|
|00000e80| 75 72 2e 20 41 6c 73 6f | 20 61 20 66 6c 61 67 20 |ur. Also| a flag |
|00000e90| 69 73 0a 25 20 73 65 74 | 20 74 6f 20 69 6e 64 69 |is.% set| to indi|
|00000ea0| 63 61 74 65 20 74 68 61 | 74 20 74 68 65 20 64 6f |cate tha|t the do|
|00000eb0| 63 75 6d 65 6e 74 20 69 | 73 20 74 6f 20 62 65 20 |cument i|s to be |
|00000ec0| 70 72 6f 63 65 73 73 65 | 64 20 69 6e 20 5c 4c 61 |processe|d in \La|
|00000ed0| 54 65 58 32 2e 30 39 0a | 25 20 63 6f 6d 70 61 74 |TeX2.09.|% compat|
|00000ee0| 69 62 69 6c 69 74 79 20 | 6d 6f 64 65 2e 20 20 41 |ibility |mode. A|
|00000ef0| 73 20 66 61 72 20 61 73 | 20 6d 6f 73 74 20 70 61 |s far as| most pa|
|00000f00| 63 6b 61 67 65 73 20 61 | 72 65 20 63 6f 6e 63 65 |ckages a|re conce|
|00000f10| 72 6e 65 64 2c 20 74 68 | 69 73 0a 25 20 6f 6e 6c |rned, th|is.% onl|
|00000f20| 79 20 61 66 66 65 63 74 | 73 20 74 68 65 20 77 61 |y affect|s the wa|
|00000f30| 72 6e 69 6e 67 73 20 61 | 6e 64 20 65 72 72 6f 72 |rnings a|nd error|
|00000f40| 73 20 5c 4c 61 54 65 58 | 5c 20 67 65 6e 65 72 61 |s \LaTeX|\ genera|
|00000f50| 74 65 73 2e 20 54 68 69 | 73 20 66 6c 61 67 0a 25 |tes. Thi|s flag.%|
|00000f60| 20 64 6f 65 73 20 61 66 | 66 65 63 74 20 74 68 65 | does af|fect the|
|00000f70| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 6f 66 20 66 | definit|ion of f|
|00000f80| 6f 6e 74 20 63 6f 6d 6d | 61 6e 64 73 2c 20 61 6e |ont comm|ands, an|
|00000f90| 64 20 7c 5c 73 6c 6f 70 | 70 79 7c 2e 0a 25 0a 25 |d |\slop|py|..%.%|
|00000fa0| 20 5c 62 69 67 73 6b 69 | 70 0a 25 0a 25 20 7c 5c | \bigski|p.%.% |\|
|00000fb0| 75 73 65 70 61 63 6b 61 | 67 65 5b 7c 5c 6d 65 74 |usepacka|ge[|\met|
|00000fc0| 61 7b 70 61 63 6b 61 67 | 65 2d 6f 70 74 69 6f 6e |a{packag|e-option|
|00000fd0| 2d 6c 69 73 74 7d 7c 5d | 7b 7c 5e 5e 41 0a 25 20 |-list}|]|{|^^A.% |
|00000fe0| 20 20 20 5c 6d 65 74 61 | 7b 70 61 63 6b 61 67 65 | \meta|{package|
|00000ff0| 2d 6c 69 73 74 7d 7c 7d | 5b 7c 5c 6d 65 74 61 7b |-list}|}|[|\meta{|
|00001000| 76 65 72 73 69 6f 6e 7d | 7c 5d 7c 0a 25 0a 25 20 |version}||]|.%.% |
|00001010| 54 68 65 72 65 20 63 61 | 6e 20 62 65 20 61 6e 79 |There ca|n be any|
|00001020| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 68 65 73 65 | number |of these|
|00001030| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 73 2e 20 41 | declara|tions. A|
|00001040| 6c 6c 20 70 61 63 6b 61 | 67 65 73 20 69 6e 0a 25 |ll packa|ges in.%|
|00001050| 20 5c 6d 65 74 61 7b 70 | 61 63 6b 61 67 65 2d 6c | \meta{p|ackage-l|
|00001060| 69 73 74 7d 20 61 72 65 | 20 63 61 6c 6c 65 64 20 |ist} are| called |
|00001070| 77 69 74 68 20 74 68 65 | 20 73 61 6d 65 20 6f 70 |with the| same op|
|00001080| 74 69 6f 6e 73 2e 0a 25 | 0a 25 20 45 61 63 68 20 |tions..%|.% Each |
|00001090| 5c 6d 65 74 61 7b 70 61 | 63 6b 61 67 65 7d 20 66 |\meta{pa|ckage} f|
|000010a0| 69 6c 65 20 64 65 66 69 | 6e 65 73 20 6e 65 77 20 |ile defi|nes new |
|000010b0| 65 6c 65 6d 65 6e 74 73 | 20 28 6f 72 20 6d 6f 64 |elements| (or mod|
|000010c0| 69 66 69 65 73 20 74 68 | 6f 73 65 0a 25 20 64 65 |ifies th|ose.% de|
|000010d0| 66 69 6e 65 64 20 69 6e | 20 74 68 65 20 5c 6d 65 |fined in| the \me|
|000010e0| 74 61 7b 63 6c 61 73 73 | 7d 29 2c 20 61 6e 64 20 |ta{class|}), and |
|000010f0| 74 68 75 73 20 65 78 74 | 65 6e 64 73 20 74 68 65 |thus ext|ends the|
|00001100| 20 72 61 6e 67 65 20 6f | 66 20 64 6f 63 75 6d 65 | range o|f docume|
|00001110| 6e 74 73 0a 25 20 77 68 | 69 63 68 20 63 61 6e 20 |nts.% wh|ich can |
|00001120| 62 65 20 70 72 6f 63 65 | 73 73 65 64 2e 0a 25 20 |be proce|ssed..% |
|00001130| 54 68 65 20 5c 6d 65 74 | 61 7b 70 61 63 6b 61 67 |The \met|a{packag|
|00001140| 65 2d 6f 70 74 69 6f 6e | 2d 6c 69 73 74 7d 20 69 |e-option|-list} i|
|00001150| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 6f 70 74 69 |s a list| of opti|
|00001160| 6f 6e 73 20 77 68 69 63 | 68 20 63 61 6e 20 6d 6f |ons whic|h can mo|
|00001170| 64 69 66 79 0a 25 20 74 | 68 65 20 66 6f 72 6d 61 |dify.% t|he forma|
|00001180| 74 74 69 6e 67 20 6f 66 | 20 65 6c 65 6d 65 6e 74 |tting of| element|
|00001190| 73 20 64 65 66 69 6e 65 | 64 20 69 6e 20 74 68 65 |s define|d in the|
|000011a0| 20 5c 6d 65 74 61 7b 70 | 61 63 6b 61 67 65 7d 20 | \meta{p|ackage} |
|000011b0| 66 69 6c 65 2e 0a 25 20 | 54 68 65 20 5c 6d 65 74 |file..% |The \met|
|000011c0| 61 7b 76 65 72 73 69 6f | 6e 7d 20 69 73 20 61 20 |a{versio|n} is a |
|000011d0| 76 65 72 73 69 6f 6e 20 | 6e 75 6d 62 65 72 2c 20 |version |number, |
|000011e0| 62 65 67 69 6e 6e 69 6e | 67 20 77 69 74 68 20 61 |beginnin|g with a|
|000011f0| 20 64 61 74 65 20 69 6e | 20 74 68 65 0a 25 20 66 | date in| the.% f|
|00001200| 6f 72 6d 61 74 20 7c 59 | 59 59 59 2f 4d 4d 2f 44 |ormat |Y|YYY/MM/D|
|00001210| 44 7c 2e 20 20 49 66 20 | 61 6e 20 6f 6c 64 65 72 |D|. If |an older|
|00001220| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 74 68 65 20 | version| of the |
|00001230| 70 61 63 6b 61 67 65 20 | 69 73 20 66 6f 75 6e 64 |package |is found|
|00001240| 2c 20 61 0a 25 20 77 61 | 72 6e 69 6e 67 20 69 73 |, a.% wa|rning is|
|00001250| 20 69 73 73 75 65 64 2e | 0a 25 0a 25 20 45 61 63 | issued.|.%.% Eac|
|00001260| 68 20 70 61 63 6b 61 67 | 65 20 69 73 20 6c 6f 61 |h packag|e is loa|
|00001270| 64 65 64 20 6f 6e 6c 79 | 20 6f 6e 63 65 2e 20 20 |ded only| once. |
|00001280| 49 66 20 74 68 65 20 73 | 61 6d 65 20 70 61 63 6b |If the s|ame pack|
|00001290| 61 67 65 20 69 73 20 72 | 65 71 75 65 73 74 65 64 |age is r|equested|
|000012a0| 0a 25 20 6d 6f 72 65 20 | 74 68 61 6e 20 6f 6e 63 |.% more |than onc|
|000012b0| 65 2c 20 6e 6f 74 68 69 | 6e 67 20 68 61 70 70 65 |e, nothi|ng happe|
|000012c0| 6e 73 2c 20 75 6e 6c 65 | 73 73 20 74 68 65 20 70 |ns, unle|ss the p|
|000012d0| 61 63 6b 61 67 65 20 68 | 61 73 20 62 65 65 6e 20 |ackage h|as been |
|000012e0| 72 65 71 75 65 73 74 65 | 64 0a 25 20 77 69 74 68 |requeste|d.% with|
|000012f0| 20 6f 70 74 69 6f 6e 73 | 20 74 68 61 74 20 77 65 | options| that we|
|00001300| 72 65 20 6e 6f 74 20 67 | 69 76 65 6e 20 74 68 65 |re not g|iven the|
|00001310| 20 66 69 72 73 74 20 74 | 69 6d 65 20 69 74 20 77 | first t|ime it w|
|00001320| 61 73 20 6c 6f 61 64 65 | 64 2c 20 69 6e 0a 25 20 |as loade|d, in.% |
|00001330| 77 68 69 63 68 20 63 61 | 73 65 20 61 6e 20 65 72 |which ca|se an er|
|00001340| 72 6f 72 20 69 73 20 70 | 72 6f 64 75 63 65 64 2e |ror is p|roduced.|
|00001350| 0a 25 0a 25 20 41 73 20 | 77 65 6c 6c 20 61 73 20 |.%.% As |well as |
|00001360| 70 72 6f 63 65 73 73 69 | 6e 67 20 74 68 65 20 6f |processi|ng the o|
|00001370| 70 74 69 6f 6e 73 20 67 | 69 76 65 6e 20 69 6e 20 |ptions g|iven in |
|00001380| 74 68 65 0a 25 20 5c 6d | 65 74 61 7b 70 61 63 6b |the.% \m|eta{pack|
|00001390| 61 67 65 2d 6f 70 74 69 | 6f 6e 2d 6c 69 73 74 7d |age-opti|on-list}|
|000013a0| 2c 20 65 61 63 68 20 70 | 61 63 6b 61 67 65 20 70 |, each p|ackage p|
|000013b0| 72 6f 63 65 73 73 65 73 | 20 74 68 65 0a 25 20 5c |rocesses| the.% \|
|000013c0| 6d 65 74 61 7b 6d 61 69 | 6e 2d 6f 70 74 69 6f 6e |meta{mai|n-option|
|000013d0| 2d 6c 69 73 74 7d 2e 20 | 20 54 68 69 73 20 6d 65 |-list}. | This me|
|000013e0| 61 6e 73 20 74 68 61 74 | 20 6f 70 74 69 6f 6e 73 |ans that| options|
|000013f0| 20 74 68 61 74 20 61 66 | 66 65 63 74 20 61 6c 6c | that af|fect all|
|00001400| 0a 25 20 6f 66 20 74 68 | 65 20 70 61 63 6b 61 67 |.% of th|e packag|
|00001410| 65 73 20 63 61 6e 20 62 | 65 20 67 69 76 65 6e 20 |es can b|e given |
|00001420| 67 6c 6f 62 61 6c 6c 79 | 2c 20 72 61 74 68 65 72 |globally|, rather|
|00001430| 20 74 68 61 6e 20 72 65 | 70 65 61 74 65 64 20 66 | than re|peated f|
|00001440| 6f 72 20 65 76 65 72 79 | 0a 25 20 70 61 63 6b 61 |or every|.% packa|
|00001450| 67 65 2e 0a 25 0a 25 20 | 4e 6f 74 65 20 74 68 61 |ge..%.% |Note tha|
|00001460| 74 20 63 6c 61 73 73 20 | 66 69 6c 65 73 20 68 61 |t class |files ha|
|00001470| 76 65 20 74 68 65 20 65 | 78 74 65 6e 73 69 6f 6e |ve the e|xtension|
|00001480| 20 7c 2e 63 6c 73 7c 2c | 20 70 61 63 6b 61 67 65 | |.cls|,| package|
|00001490| 73 20 68 61 76 65 20 74 | 68 65 0a 25 20 65 78 74 |s have t|he.% ext|
|000014a0| 65 6e 73 69 6f 6e 20 7c | 2e 73 74 79 7c 2e 0a 25 |ension ||.sty|..%|
|000014b0| 0a 25 20 5c 44 65 73 63 | 72 69 62 65 45 6e 76 7b |.% \Desc|ribeEnv{|
|000014c0| 66 69 6c 65 63 6f 6e 74 | 65 6e 74 73 7d 0a 25 20 |filecont|ents}.% |
|000014d0| 54 68 65 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |The envi|ronment |
|000014e0| 7c 66 69 6c 65 63 6f 6e | 74 65 6e 74 73 7c 20 69 ||filecon|tents| i|
|000014f0| 73 20 69 6e 74 65 6e 64 | 65 64 20 66 6f 72 20 70 |s intend|ed for p|
|00001500| 61 73 73 69 6e 67 20 74 | 68 65 20 63 6f 6e 74 65 |assing t|he conte|
|00001510| 6e 74 73 0a 25 20 6f 66 | 20 70 61 63 6b 61 67 65 |nts.% of| package|
|00001520| 73 2c 20 6f 70 74 69 6f | 6e 73 2c 20 6f 72 20 6f |s, optio|ns, or o|
|00001530| 74 68 65 72 20 66 69 6c | 65 73 20 61 6c 6f 6e 67 |ther fil|es along|
|00001540| 20 77 69 74 68 20 61 20 | 64 6f 63 75 6d 65 6e 74 | with a |document|
|00001550| 20 69 6e 20 61 0a 25 20 | 73 69 6e 67 6c 65 20 66 | in a.% |single f|
|00001560| 69 6c 65 2e 0a 25 20 49 | 74 20 68 61 73 20 6f 6e |ile..% I|t has on|
|00001570| 65 20 61 72 67 75 6d 65 | 6e 74 2c 20 77 68 69 63 |e argume|nt, whic|
|00001580| 68 20 69 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |h is the| name of|
|00001590| 20 74 68 65 20 66 69 6c | 65 20 74 6f 20 63 72 65 | the fil|e to cre|
|000015a0| 61 74 65 2e 20 49 66 20 | 74 68 61 74 0a 25 20 66 |ate. If |that.% f|
|000015b0| 69 6c 65 20 61 6c 72 65 | 61 64 79 20 65 78 69 73 |ile alre|ady exis|
|000015c0| 74 73 20 28 6d 61 79 62 | 65 20 6f 6e 6c 79 20 69 |ts (mayb|e only i|
|000015d0| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 69 |n the cu|rrent di|
|000015e0| 72 65 63 74 6f 72 79 20 | 69 66 20 74 68 65 20 4f |rectory |if the O|
|000015f0| 53 0a 25 20 73 75 70 70 | 6f 72 74 73 20 61 20 6e |S.% supp|orts a n|
|00001600| 6f 74 69 6f 6e 20 6f 66 | 20 61 20 60 63 75 72 72 |otion of| a `curr|
|00001610| 65 6e 74 20 64 69 72 65 | 63 74 6f 72 79 27 20 6f |ent dire|ctory' o|
|00001620| 72 20 60 64 65 66 61 75 | 6c 74 20 64 69 72 65 63 |r `defau|lt direc|
|00001630| 74 6f 72 79 27 29 0a 25 | 20 74 68 65 6e 20 6e 6f |tory').%| then no|
|00001640| 74 68 69 6e 67 20 68 61 | 70 70 65 6e 73 0a 25 20 |thing ha|ppens.% |
|00001650| 28 65 78 63 65 70 74 20 | 66 6f 72 20 61 6e 20 69 |(except |for an i|
|00001660| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 6d 65 73 73 61 |nformati|on messa|
|00001670| 67 65 29 20 61 6e 64 20 | 74 68 65 20 62 6f 64 79 |ge) and |the body|
|00001680| 20 6f 66 20 74 68 65 20 | 65 6e 76 69 72 6f 6e 6d | of the |environm|
|00001690| 65 6e 74 0a 25 20 69 73 | 20 62 79 70 61 73 73 65 |ent.% is| bypasse|
|000016a0| 64 2e 20 4f 74 68 65 72 | 77 69 73 65 2c 20 74 68 |d. Other|wise, th|
|000016b0| 65 20 62 6f 64 79 20 6f | 66 20 74 68 65 20 65 6e |e body o|f the en|
|000016c0| 76 69 72 6f 6e 6d 65 6e | 74 20 69 73 20 77 72 69 |vironmen|t is wri|
|000016d0| 74 74 65 6e 0a 25 20 76 | 65 72 62 61 74 69 6d 20 |tten.% v|erbatim |
|000016e0| 74 6f 20 74 68 65 20 66 | 69 6c 65 20 6e 61 6d 65 |to the f|ile name|
|000016f0| 20 67 69 76 65 6e 20 61 | 73 20 74 68 65 20 66 69 | given a|s the fi|
|00001700| 72 73 74 20 61 72 67 75 | 6d 65 6e 74 2e 0a 25 0a |rst argu|ment..%.|
|00001710| 25 20 54 68 65 20 65 6e | 76 69 72 6f 6e 6d 65 6e |% The en|vironmen|
|00001720| 74 20 69 73 20 61 6c 6c | 6f 77 65 64 20 6f 6e 6c |t is all|owed onl|
|00001730| 79 20 62 65 66 6f 72 65 | 20 7c 5c 64 6f 63 75 6d |y before| |\docum|
|00001740| 65 6e 74 63 6c 61 73 73 | 7c 20 74 6f 20 65 6e 73 |entclass|| to ens|
|00001750| 75 72 65 0a 25 20 74 68 | 61 74 20 61 6c 6c 20 70 |ure.% th|at all p|
|00001760| 61 63 6b 61 67 65 73 20 | 6f 72 20 6f 70 74 69 6f |ackages |or optio|
|00001770| 6e 73 20 6e 65 63 65 73 | 73 61 72 79 20 66 6f 72 |ns neces|sary for|
|00001780| 20 74 68 69 73 20 70 61 | 72 74 69 63 75 6c 61 72 | this pa|rticular|
|00001790| 20 72 75 6e 20 61 72 65 | 0a 25 20 70 72 65 73 65 | run are|.% prese|
|000017a0| 6e 74 20 77 68 65 6e 20 | 6e 65 65 64 65 64 2e 0a |nt when |needed..|
|000017b0| 25 0a 25 20 5c 73 75 62 | 73 65 63 74 69 6f 6e 7b |%.% \sub|section{|
|000017c0| 4f 70 74 69 6f 6e 20 70 | 72 6f 63 65 73 73 69 6e |Option p|rocessin|
|000017d0| 67 7d 0a 25 0a 25 20 57 | 68 65 6e 20 74 68 65 20 |g}.%.% W|hen the |
|000017e0| 6f 70 74 69 6f 6e 73 20 | 61 72 65 20 70 72 6f 63 |options |are proc|
|000017f0| 65 73 73 65 64 2c 20 74 | 68 65 79 20 61 72 65 20 |essed, t|hey are |
|00001800| 64 69 76 69 64 65 64 20 | 69 6e 74 6f 20 74 77 6f |divided |into two|
|00001810| 20 74 79 70 65 73 3a 20 | 7b 5c 65 6d 0a 25 20 6c | types: |{\em.% l|
|00001820| 6f 63 61 6c 5c 2f 7d 20 | 61 6e 64 20 7b 5c 65 6d |ocal\/} |and {\em|
|00001830| 20 67 6c 6f 62 61 6c 7d | 3a 0a 25 20 5c 62 65 67 | global}|:.% \beg|
|00001840| 69 6e 7b 69 74 65 6d 69 | 7a 65 7d 0a 25 0a 25 20 |in{itemi|ze}.%.% |
|00001850| 5c 69 74 65 6d 20 46 6f | 72 20 61 20 63 6c 61 73 |\item Fo|r a clas|
|00001860| 73 2c 20 74 68 65 20 6f | 70 74 69 6f 6e 73 20 69 |s, the o|ptions i|
|00001870| 6e 20 74 68 65 20 7c 5c | 64 6f 63 75 6d 65 6e 74 |n the |\|document|
|00001880| 63 6c 61 73 73 7c 20 63 | 6f 6d 6d 61 6e 64 20 61 |class| c|ommand a|
|00001890| 72 65 0a 25 20 20 20 20 | 6c 6f 63 61 6c 2e 0a 25 |re.% |local..%|
|000018a0| 0a 25 20 5c 69 74 65 6d | 20 46 6f 72 20 61 20 70 |.% \item| For a p|
|000018b0| 61 63 6b 61 67 65 2c 20 | 74 68 65 20 6f 70 74 69 |ackage, |the opti|
|000018c0| 6f 6e 73 20 69 6e 20 74 | 68 65 20 7c 5c 75 73 65 |ons in t|he |\use|
|000018d0| 70 61 63 6b 61 67 65 7c | 20 63 6f 6d 6d 61 6e 64 |package|| command|
|000018e0| 20 61 72 65 0a 25 20 20 | 20 20 6c 6f 63 61 6c 2c | are.% | local,|
|000018f0| 20 61 6e 64 20 74 68 65 | 20 6f 70 74 69 6f 6e 73 | and the| options|
|00001900| 20 69 6e 20 74 68 65 20 | 7c 5c 64 6f 63 75 6d 65 | in the ||\docume|
|00001910| 6e 74 63 6c 61 73 73 7c | 20 63 6f 6d 6d 61 6e 64 |ntclass|| command|
|00001920| 20 61 72 65 20 67 6c 6f | 62 61 6c 2e 0a 25 0a 25 | are glo|bal..%.%|
|00001930| 20 5c 65 6e 64 7b 69 74 | 65 6d 69 7a 65 7d 0a 25 | \end{it|emize}.%|
|00001940| 20 54 68 65 20 6f 70 74 | 69 6f 6e 73 20 66 6f 72 | The opt|ions for|
|00001950| 20 7c 5c 64 6f 63 75 6d | 65 6e 74 63 6c 61 73 73 | |\docum|entclass|
|00001960| 7c 20 61 6e 64 20 7c 5c | 75 73 65 70 61 63 6b 61 || and |\|usepacka|
|00001970| 67 65 7c 0a 25 20 61 72 | 65 20 70 72 6f 63 65 73 |ge|.% ar|e proces|
|00001980| 73 65 64 20 69 6e 20 74 | 68 65 20 66 6f 6c 6c 6f |sed in t|he follo|
|00001990| 77 69 6e 67 20 77 61 79 | 3a 0a 25 20 5c 62 65 67 |wing way|:.% \beg|
|000019a0| 69 6e 7b 65 6e 75 6d 65 | 72 61 74 65 7d 0a 25 0a |in{enume|rate}.%.|
|000019b0| 25 20 5c 69 74 65 6d 20 | 54 68 65 20 6c 6f 63 61 |% \item |The loca|
|000019c0| 6c 20 61 6e 64 20 67 6c | 6f 62 61 6c 20 6f 70 74 |l and gl|obal opt|
|000019d0| 69 6f 6e 73 20 74 68 61 | 74 20 68 61 76 65 20 62 |ions tha|t have b|
|000019e0| 65 65 6e 20 64 65 63 6c | 61 72 65 64 0a 25 20 20 |een decl|ared.% |
|000019f0| 20 28 75 73 69 6e 67 20 | 7c 5c 44 65 63 6c 61 72 | (using ||\Declar|
|00001a00| 65 4f 70 74 69 6f 6e 7c | 20 61 73 20 20 64 65 73 |eOption|| as des|
|00001a10| 63 72 69 62 65 64 20 62 | 65 6c 6f 77 29 20 61 72 |cribed b|elow) ar|
|00001a20| 65 20 70 72 6f 63 65 73 | 73 65 64 0a 25 20 20 20 |e proces|sed.% |
|00001a30| 66 69 72 73 74 2e 0a 25 | 0a 25 20 20 49 6e 20 74 |first..%|.% In t|
|00001a40| 68 65 20 63 61 73 65 20 | 6f 66 20 7c 5c 50 72 6f |he case |of |\Pro|
|00001a50| 63 65 73 73 4f 70 74 69 | 6f 6e 73 7c 2c 20 74 68 |cessOpti|ons|, th|
|00001a60| 65 79 20 61 72 65 20 70 | 72 6f 63 65 73 73 65 64 |ey are p|rocessed|
|00001a70| 20 69 6e 20 74 68 65 20 | 6f 72 64 65 72 0a 25 20 | in the |order.% |
|00001a80| 20 74 68 61 74 20 74 68 | 65 79 20 77 65 72 65 20 | that th|ey were |
|00001a90| 64 65 63 6c 61 72 65 64 | 20 69 6e 20 74 68 65 20 |declared| in the |
|00001aa0| 63 6c 61 73 73 20 6f 72 | 20 70 61 63 6b 61 67 65 |class or| package|
|00001ab0| 2e 0a 25 0a 25 20 20 49 | 6e 20 74 68 65 20 63 61 |..%.% I|n the ca|
|00001ac0| 73 65 20 6f 66 20 7c 5c | 50 72 6f 63 65 73 73 4f |se of |\|ProcessO|
|00001ad0| 70 74 69 6f 6e 73 2a 7c | 2c 20 74 68 65 79 20 61 |ptions*||, they a|
|00001ae0| 72 65 20 70 72 6f 63 65 | 73 73 65 64 20 69 6e 20 |re proce|ssed in |
|00001af0| 74 68 65 20 6f 72 64 65 | 72 0a 25 20 20 74 68 61 |the orde|r.% tha|
|00001b00| 74 20 74 68 65 79 20 61 | 70 70 65 61 72 20 69 6e |t they a|ppear in|
|00001b10| 20 74 68 65 20 6f 70 74 | 69 6f 6e 2d 6c 69 73 74 | the opt|ion-list|
|00001b20| 73 2e 20 46 69 72 73 74 | 20 74 68 65 20 67 6c 6f |s. First| the glo|
|00001b30| 62 61 6c 20 6f 70 74 69 | 6f 6e 73 2c 20 61 6e 64 |bal opti|ons, and|
|00001b40| 0a 25 20 20 74 68 65 6e | 20 74 68 65 20 6c 6f 63 |.% then| the loc|
|00001b50| 61 6c 20 6f 6e 65 73 2e | 0a 25 0a 25 20 5c 69 74 |al ones.|.%.% \it|
|00001b60| 65 6d 20 41 6e 79 20 72 | 65 6d 61 69 6e 69 6e 67 |em Any r|emaining|
|00001b70| 20 6c 6f 63 61 6c 20 6f | 70 74 69 6f 6e 73 20 61 | local o|ptions a|
|00001b80| 72 65 20 64 65 61 6c 74 | 20 77 69 74 68 20 75 73 |re dealt| with us|
|00001b90| 69 6e 67 20 74 68 65 20 | 64 65 66 61 75 6c 74 0a |ing the |default.|
|00001ba0| 25 20 20 20 6f 70 74 69 | 6f 6e 20 28 64 65 63 6c |% opti|on (decl|
|00001bb0| 61 72 65 64 20 75 73 69 | 6e 67 20 74 68 65 20 7c |ared usi|ng the ||
|00001bc0| 5c 44 65 63 6c 61 72 65 | 4f 70 74 69 6f 6e 2a 7c |\Declare|Option*||
|00001bd0| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 20 64 65 73 | declara|tion des|
|00001be0| 63 72 69 62 65 64 0a 25 | 20 20 20 62 65 6c 6f 77 |cribed.%| below|
|00001bf0| 29 2e 20 20 46 6f 72 20 | 64 6f 63 75 6d 65 6e 74 |). For |document|
|00001c00| 20 63 6c 61 73 73 65 73 | 2c 20 74 68 69 73 20 75 | classes|, this u|
|00001c10| 73 75 61 6c 6c 79 20 64 | 6f 65 73 20 6e 6f 74 68 |sually d|oes noth|
|00001c20| 69 6e 67 2c 20 62 75 74 | 0a 25 20 20 20 72 65 63 |ing, but|.% rec|
|00001c30| 6f 72 64 73 20 74 68 65 | 20 6f 70 74 69 6f 6e 20 |ords the| option |
|00001c40| 6f 6e 20 61 20 6c 69 73 | 74 20 6f 66 20 75 6e 75 |on a lis|t of unu|
|00001c50| 73 65 64 20 6f 70 74 69 | 6f 6e 73 2e 0a 25 20 20 |sed opti|ons..% |
|00001c60| 20 46 6f 72 20 70 61 63 | 6b 61 67 65 73 2c 20 74 | For pac|kages, t|
|00001c70| 68 69 73 20 75 73 75 61 | 6c 6c 79 20 70 72 6f 64 |his usua|lly prod|
|00001c80| 75 63 65 73 20 61 6e 20 | 65 72 72 6f 72 2e 0a 25 |uces an |error..%|
|00001c90| 0a 25 20 5c 65 6e 64 7b | 65 6e 75 6d 65 72 61 74 |.% \end{|enumerat|
|00001ca0| 65 7d 0a 25 20 46 69 6e | 61 6c 6c 79 2c 20 77 68 |e}.% Fin|ally, wh|
|00001cb0| 65 6e 20 7c 5c 62 65 67 | 69 6e 7b 64 6f 63 75 6d |en |\beg|in{docum|
|00001cc0| 65 6e 74 7d 7c 20 69 73 | 20 72 65 61 63 68 65 64 |ent}| is| reached|
|00001cd0| 2c 20 69 66 20 74 68 65 | 72 65 20 61 72 65 20 61 |, if the|re are a|
|00001ce0| 6e 79 20 67 6c 6f 62 61 | 6c 0a 25 20 6f 70 74 69 |ny globa|l.% opti|
|00001cf0| 6f 6e 73 20 77 68 69 63 | 68 20 68 61 76 65 20 6e |ons whic|h have n|
|00001d00| 6f 74 20 62 65 65 6e 20 | 75 73 65 64 20 62 79 20 |ot been |used by |
|00001d10| 65 69 74 68 65 72 20 74 | 68 65 20 63 6c 61 73 73 |either t|he class|
|00001d20| 20 6f 72 20 61 6e 79 20 | 70 61 63 6b 61 67 65 2c | or any |package,|
|00001d30| 0a 25 20 74 68 65 20 73 | 79 73 74 65 6d 20 77 69 |.% the s|ystem wi|
|00001d40| 6c 6c 20 70 72 6f 64 75 | 63 65 20 61 20 77 61 72 |ll produ|ce a war|
|00001d50| 6e 69 6e 67 2e 0a 25 0a | 25 0a 25 20 5c 73 65 63 |ning..%.|%.% \sec|
|00001d60| 74 69 6f 6e 7b 43 6c 61 | 73 73 20 61 6e 64 20 50 |tion{Cla|ss and P|
|00001d70| 61 63 6b 61 67 65 20 69 | 6e 74 65 72 66 61 63 65 |ackage i|nterface|
|00001d80| 7d 0a 25 0a 25 20 5c 73 | 75 62 73 65 63 74 69 6f |}.%.% \s|ubsectio|
|00001d90| 6e 7b 43 6c 61 73 73 20 | 6e 61 6d 65 20 61 6e 64 |n{Class |name and|
|00001da0| 20 76 65 72 73 69 6f 6e | 7d 0a 25 0a 25 20 5c 44 | version|}.%.% \D|
|00001db0| 65 73 63 72 69 62 65 4d | 61 63 72 6f 5c 50 72 6f |escribeM|acro\Pro|
|00001dc0| 76 69 64 65 73 43 6c 61 | 73 73 0a 25 20 41 20 63 |videsCla|ss.% A c|
|00001dd0| 6c 61 73 73 20 63 61 6e | 20 69 64 65 6e 74 69 66 |lass can| identif|
|00001de0| 79 20 69 74 73 65 6c 66 | 20 77 69 74 68 20 74 68 |y itself| with th|
|00001df0| 65 0a 25 20 7c 5c 50 72 | 6f 76 69 64 65 73 43 6c |e.% |\Pr|ovidesCl|
|00001e00| 61 73 73 7b 7c 5c 6d 65 | 74 61 7b 6e 61 6d 65 7d |ass{|\me|ta{name}|
|00001e10| 7c 7d 5b 7c 5c 6d 65 74 | 61 7b 76 65 72 73 69 6f ||}[|\met|a{versio|
|00001e20| 6e 7d 7c 5d 7c 20 63 6f | 6d 6d 61 6e 64 2e 20 20 |n}|]| co|mmand. |
|00001e30| 54 68 65 0a 25 20 5c 6d | 65 74 61 7b 76 65 72 73 |The.% \m|eta{vers|
|00001e40| 69 6f 6e 7d 20 73 68 6f | 75 6c 64 20 62 65 67 69 |ion} sho|uld begi|
|00001e50| 6e 20 77 69 74 68 20 61 | 20 64 61 74 65 20 69 6e |n with a| date in|
|00001e60| 20 74 68 65 20 66 6f 72 | 6d 61 74 20 7c 59 59 59 | the for|mat |YYY|
|00001e70| 59 2f 4d 4d 2f 44 44 7c | 2e 0a 25 0a 25 20 5c 73 |Y/MM/DD||..%.% \s|
|00001e80| 75 62 73 65 63 74 69 6f | 6e 7b 50 61 63 6b 61 67 |ubsectio|n{Packag|
|00001e90| 65 20 6e 61 6d 65 20 61 | 6e 64 20 76 65 72 73 69 |e name a|nd versi|
|00001ea0| 6f 6e 7d 0a 25 0a 25 20 | 5c 44 65 73 63 72 69 62 |on}.%.% |\Describ|
|00001eb0| 65 4d 61 63 72 6f 5c 50 | 72 6f 76 69 64 65 73 50 |eMacro\P|rovidesP|
|00001ec0| 61 63 6b 61 67 65 0a 25 | 20 41 20 70 61 63 6b 61 |ackage.%| A packa|
|00001ed0| 67 65 20 63 61 6e 20 69 | 64 65 6e 74 69 66 79 20 |ge can i|dentify |
|00001ee0| 69 74 73 65 6c 66 20 77 | 69 74 68 20 74 68 65 0a |itself w|ith the.|
|00001ef0| 25 20 7c 5c 50 72 6f 76 | 69 64 65 73 50 61 63 6b |% |\Prov|idesPack|
|00001f00| 61 67 65 7b 7c 5c 6d 65 | 74 61 7b 6e 61 6d 65 7d |age{|\me|ta{name}|
|00001f10| 7c 7d 5b 7c 5c 6d 65 74 | 61 7b 76 65 72 73 69 6f ||}[|\met|a{versio|
|00001f20| 6e 7d 7c 5d 7c 20 63 6f | 6d 6d 61 6e 64 2e 20 20 |n}|]| co|mmand. |
|00001f30| 54 68 65 0a 25 20 5c 6d | 65 74 61 7b 76 65 72 73 |The.% \m|eta{vers|
|00001f40| 69 6f 6e 7d 20 73 68 6f | 75 6c 64 20 62 65 67 69 |ion} sho|uld begi|
|00001f50| 6e 20 77 69 74 68 20 61 | 20 64 61 74 65 20 69 6e |n with a| date in|
|00001f60| 20 74 68 65 20 66 6f 72 | 6d 61 74 20 7c 59 59 59 | the for|mat |YYY|
|00001f70| 59 2f 4d 4d 2f 44 44 7c | 2e 0a 25 0a 25 20 5c 73 |Y/MM/DD||..%.% \s|
|00001f80| 75 62 73 65 63 74 69 6f | 6e 7b 52 65 71 75 69 72 |ubsectio|n{Requir|
|00001f90| 69 6e 67 20 6f 74 68 65 | 72 20 70 61 63 6b 61 67 |ing othe|r packag|
|00001fa0| 65 73 7d 0a 25 0a 25 20 | 5c 44 65 73 63 72 69 62 |es}.%.% |\Describ|
|00001fb0| 65 4d 61 63 72 6f 5c 52 | 65 71 75 69 72 65 50 61 |eMacro\R|equirePa|
|00001fc0| 63 6b 61 67 65 0a 25 20 | 50 61 63 6b 61 67 65 73 |ckage.% |Packages|
|00001fd0| 20 6f 72 20 63 6c 61 73 | 73 65 73 20 63 61 6e 20 | or clas|ses can |
|00001fe0| 6c 6f 61 64 20 6f 74 68 | 65 72 20 70 61 63 6b 61 |load oth|er packa|
|00001ff0| 67 65 73 20 75 73 69 6e | 67 5c 5c 0a 25 20 7c 5c |ges usin|g\\.% |\|
|00002000| 52 65 71 75 69 72 65 50 | 61 63 6b 61 67 65 5b 7c |RequireP|ackage[||
|00002010| 5c 6d 65 74 61 7b 6f 70 | 74 69 6f 6e 73 7d 7c 5d |\meta{op|tions}|]|
|00002020| 7b 7c 5c 6d 65 74 61 7b | 6e 61 6d 65 7d 7c 7d 5b |{|\meta{|name}|}[|
|00002030| 7c 5e 5e 41 0a 25 20 20 | 20 20 20 20 20 20 20 20 ||^^A.% | |
|00002040| 20 20 20 20 20 20 20 20 | 20 20 5c 6d 65 74 61 7b | | \meta{|
|00002050| 76 65 72 73 69 6f 6e 7d | 7c 5d 7c 2e 5c 5c 0a 25 |version}||]|.\\.%|
|00002060| 20 49 66 20 74 68 65 20 | 70 61 63 6b 61 67 65 20 | If the |package |
|00002070| 68 61 73 20 61 6c 72 65 | 61 64 79 20 62 65 65 6e |has alre|ady been|
|00002080| 20 6c 6f 61 64 65 64 2c | 20 74 68 65 6e 20 6e 6f | loaded,| then no|
|00002090| 74 68 69 6e 67 20 68 61 | 70 70 65 6e 73 20 75 6e |thing ha|ppens un|
|000020a0| 6c 65 73 73 0a 25 20 74 | 68 65 20 72 65 71 75 65 |less.% t|he reque|
|000020b0| 73 74 65 64 20 6f 70 74 | 69 6f 6e 73 20 61 72 65 |sted opt|ions are|
|000020c0| 20 6e 6f 74 20 61 20 73 | 75 62 73 65 74 20 6f 66 | not a s|ubset of|
|000020d0| 20 74 68 65 20 6f 70 74 | 69 6f 6e 73 20 77 69 74 | the opt|ions wit|
|000020e0| 68 20 77 68 69 63 68 20 | 69 74 0a 25 20 77 61 73 |h which |it.% was|
|000020f0| 20 6c 6f 61 64 65 64 2c | 20 69 6e 20 77 68 69 63 | loaded,| in whic|
|00002100| 68 20 63 61 73 65 20 61 | 6e 20 65 72 72 6f 72 20 |h case a|n error |
|00002110| 69 73 20 63 61 6c 6c 65 | 64 2e 0a 25 0a 25 20 5c |is calle|d..%.% \|
|00002120| 44 65 73 63 72 69 62 65 | 4d 61 63 72 6f 5c 4c 6f |Describe|Macro\Lo|
|00002130| 61 64 43 6c 61 73 73 0a | 25 20 20 53 69 6d 69 6c |adClass.|% Simil|
|00002140| 61 72 20 74 6f 20 7c 5c | 52 65 71 75 69 72 65 50 |ar to |\|RequireP|
|00002150| 61 63 6b 61 67 65 7c 2c | 20 62 75 74 20 66 6f 72 |ackage|,| but for|
|00002160| 20 63 6c 61 73 73 65 73 | 2c 20 6d 61 79 20 6e 6f | classes|, may no|
|00002170| 74 20 62 65 20 75 73 65 | 64 20 69 6e 0a 25 20 20 |t be use|d in.% |
|00002180| 70 61 63 6b 61 67 65 20 | 66 69 6c 65 73 2e 0a 25 |package |files..%|
|00002190| 0a 25 20 5c 44 65 73 63 | 72 69 62 65 4d 61 63 72 |.% \Desc|ribeMacr|
|000021a0| 6f 5c 50 61 73 73 4f 70 | 74 69 6f 6e 73 54 6f 50 |o\PassOp|tionsToP|
|000021b0| 61 63 6b 61 67 65 0a 25 | 20 5c 44 65 73 63 72 69 |ackage.%| \Descri|
|000021c0| 62 65 4d 61 63 72 6f 5c | 50 61 73 73 4f 70 74 69 |beMacro\|PassOpti|
|000021d0| 6f 6e 73 54 6f 43 6c 61 | 73 73 0a 25 20 50 61 63 |onsToCla|ss.% Pac|
|000021e0| 6b 61 67 65 73 20 63 61 | 6e 20 70 61 73 73 20 6f |kages ca|n pass o|
|000021f0| 70 74 69 6f 6e 73 20 74 | 6f 20 6f 74 68 65 72 20 |ptions t|o other |
|00002200| 70 61 63 6b 61 67 65 73 | 20 75 73 69 6e 67 3a 5c |packages| using:\|
|00002210| 5c 0a 25 20 7c 5c 50 61 | 73 73 4f 70 74 69 6f 6e |\.% |\Pa|ssOption|
|00002220| 73 54 6f 50 61 63 6b 61 | 67 65 7b 7c 5c 6d 65 74 |sToPacka|ge{|\met|
|00002230| 61 7b 6f 70 74 69 6f 6e | 73 7d 7c 7d 7b 7c 5c 6d |a{option|s}|}{|\m|
|00002240| 65 74 61 7b 70 61 63 6b | 61 67 65 7d 7c 7d 7c 2e |eta{pack|age}|}|.|
|00002250| 5c 5c 20 20 54 68 69 73 | 0a 25 20 61 64 64 73 20 |\\ This|.% adds |
|00002260| 74 68 65 20 5c 6d 65 74 | 61 7b 6f 70 74 69 6f 6e |the \met|a{option|
|00002270| 73 7d 20 74 6f 20 74 68 | 65 20 6f 70 74 69 6f 6e |s} to th|e option|
|00002280| 73 20 6c 69 73 74 20 6f | 66 20 61 6e 79 20 66 75 |s list o|f any fu|
|00002290| 74 75 72 65 0a 25 20 7c | 5c 52 65 71 75 69 72 65 |ture.% ||\Require|
|000022a0| 50 61 63 6b 61 67 65 7c | 20 6f 72 20 7c 5c 75 73 |Package|| or |\us|
|000022b0| 65 70 61 63 6b 61 67 65 | 7c 20 63 6f 6d 6d 61 6e |epackage|| comman|
|000022c0| 64 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 3a |d. For |example:|
|000022d0| 0a 25 20 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |.% \begi|n{verbat|
|000022e0| 69 6d 7d 0a 25 20 20 20 | 20 5c 50 61 73 73 4f 70 |im}.% | \PassOp|
|000022f0| 74 69 6f 6e 73 54 6f 50 | 61 63 6b 61 67 65 7b 66 |tionsToP|ackage{f|
|00002300| 6f 6f 2c 62 61 72 7d 7b | 66 72 65 64 7d 0a 25 20 |oo,bar}{|fred}.% |
|00002310| 20 20 20 5c 52 65 71 75 | 69 72 65 50 61 63 6b 61 | \Requ|irePacka|
|00002320| 67 65 5b 62 61 7a 5d 7b | 66 72 65 64 7d 5c 65 6e |ge[baz]{|fred}\en|
|00002330| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 25 20 69 73 |d{verbat|im}.% is|
|00002340| 20 74 68 65 20 73 61 6d | 65 20 61 73 3a 0a 25 20 | the sam|e as:.% |
|00002350| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00002360| 0a 25 20 20 20 20 5c 52 | 65 71 75 69 72 65 50 61 |.% \R|equirePa|
|00002370| 63 6b 61 67 65 5b 66 6f | 6f 2c 62 61 72 2c 62 61 |ckage[fo|o,bar,ba|
|00002380| 7a 5d 7b 66 72 65 64 7d | 5c 65 6e 64 7b 76 65 72 |z]{fred}|\end{ver|
|00002390| 62 61 74 69 6d 7d 0a 25 | 0a 25 20 5c 44 65 73 63 |batim}.%|.% \Desc|
|000023a0| 72 69 62 65 4d 61 63 72 | 6f 5c 40 69 66 70 61 63 |ribeMacr|o\@ifpac|
|000023b0| 6b 61 67 65 6c 6f 61 64 | 65 64 0a 25 20 5c 44 65 |kageload|ed.% \De|
|000023c0| 73 63 72 69 62 65 4d 61 | 63 72 6f 5c 40 69 66 63 |scribeMa|cro\@ifc|
|000023d0| 6c 61 73 73 6c 6f 61 64 | 65 64 0a 25 20 54 6f 20 |lassload|ed.% To |
|000023e0| 66 69 6e 64 20 6f 75 74 | 20 69 66 20 61 20 70 61 |find out| if a pa|
|000023f0| 63 6b 61 67 65 20 68 61 | 73 20 61 6c 72 65 61 64 |ckage ha|s alread|
|00002400| 79 20 62 65 65 6e 20 6c | 6f 61 64 65 64 2c 20 75 |y been l|oaded, u|
|00002410| 73 65 5c 5c 0a 25 20 7c | 5c 40 69 66 70 61 63 6b |se\\.% ||\@ifpack|
|00002420| 61 67 65 6c 6f 61 64 65 | 64 7b 7c 5c 6d 65 74 61 |ageloade|d{|\meta|
|00002430| 7b 70 61 63 6b 61 67 65 | 7d 7c 7d 7b 7c 5c 6d 65 |{package|}|}{|\me|
|00002440| 74 61 7b 74 72 75 65 7d | 7c 7d 7b 7c 5c 6d 65 74 |ta{true}||}{|\met|
|00002450| 61 7b 66 61 6c 73 65 7d | 7c 7d 7c 2e 0a 25 0a 25 |a{false}||}|..%.%|
|00002460| 20 5c 44 65 73 63 72 69 | 62 65 4d 61 63 72 6f 5c | \Descri|beMacro\|
|00002470| 40 69 66 70 61 63 6b 61 | 67 65 6c 61 74 65 72 0a |@ifpacka|gelater.|
|00002480| 25 20 5c 44 65 73 63 72 | 69 62 65 4d 61 63 72 6f |% \Descr|ibeMacro|
|00002490| 5c 40 69 66 63 6c 61 73 | 73 6c 61 74 65 72 0a 25 |\@ifclas|slater.%|
|000024a0| 20 54 6f 20 66 69 6e 64 | 20 6f 75 74 20 69 66 20 | To find| out if |
|000024b0| 61 20 70 61 63 6b 61 67 | 65 20 68 61 73 20 61 6c |a packag|e has al|
|000024c0| 72 65 61 64 79 20 62 65 | 65 6e 20 6c 6f 61 64 65 |ready be|en loade|
|000024d0| 64 20 77 69 74 68 20 61 | 20 76 65 72 73 69 6f 6e |d with a| version|
|000024e0| 20 6d 6f 72 65 0a 25 20 | 72 65 63 65 6e 74 20 74 | more.% |recent t|
|000024f0| 68 61 6e 20 5c 6d 65 74 | 61 7b 76 65 72 73 69 6f |han \met|a{versio|
|00002500| 6e 7d 2c 20 75 73 65 0a | 25 20 7c 5c 40 69 66 70 |n}, use.|% |\@ifp|
|00002510| 61 63 6b 61 67 65 6c 61 | 74 65 72 7b 7c 5c 6d 65 |ackagela|ter{|\me|
|00002520| 74 61 7b 70 61 63 6b 61 | 67 65 7d 7c 7d 7b 7c 5c |ta{packa|ge}|}{|\|
|00002530| 6d 65 74 61 7b 76 65 72 | 73 69 6f 6e 7d 7c 7d 7b |meta{ver|sion}|}{|
|00002540| 7c 5e 5e 41 0a 25 20 5c | 6d 65 74 61 7b 74 72 75 ||^^A.% \|meta{tru|
|00002550| 65 7d 7c 7d 7b 7c 5c 6d | 65 74 61 7b 66 61 6c 73 |e}|}{|\m|eta{fals|
|00002560| 65 7d 7c 7d 7c 2e 0a 25 | 0a 25 20 5c 44 65 73 63 |e}|}|..%|.% \Desc|
|00002570| 72 69 62 65 4d 61 63 72 | 6f 5c 40 69 66 70 61 63 |ribeMacr|o\@ifpac|
|00002580| 6b 61 67 65 77 69 74 68 | 0a 25 20 5c 44 65 73 63 |kagewith|.% \Desc|
|00002590| 72 69 62 65 4d 61 63 72 | 6f 5c 40 69 66 63 6c 61 |ribeMacr|o\@ifcla|
|000025a0| 73 73 77 69 74 68 0a 25 | 20 54 6f 20 66 69 6e 64 |sswith.%| To find|
|000025b0| 20 6f 75 74 20 69 66 20 | 61 20 70 61 63 6b 61 67 | out if |a packag|
|000025c0| 65 20 68 61 73 20 61 6c | 72 65 61 64 79 20 62 65 |e has al|ready be|
|000025d0| 65 6e 20 6c 6f 61 64 65 | 64 20 77 69 74 68 20 61 |en loade|d with a|
|000025e0| 74 20 6c 65 61 73 74 20 | 74 68 65 0a 25 20 6f 70 |t least |the.% op|
|000025f0| 74 69 6f 6e 73 20 5c 6d | 65 74 61 7b 6f 70 74 69 |tions \m|eta{opti|
|00002600| 6f 6e 73 7d 2c 20 75 73 | 65 0a 25 20 7c 5c 40 69 |ons}, us|e.% |\@i|
|00002610| 66 70 61 63 6b 61 67 65 | 77 69 74 68 7b 7c 5c 6d |fpackage|with{|\m|
|00002620| 65 74 61 7b 70 61 63 6b | 61 67 65 7d 7c 7d 7b 7c |eta{pack|age}|}{||
|00002630| 5c 6d 65 74 61 7b 6f 70 | 74 69 6f 6e 73 7d 7c 7d |\meta{op|tions}|}|
|00002640| 7b 7c 5e 5e 41 0a 25 20 | 5c 6d 65 74 61 7b 74 72 |{|^^A.% |\meta{tr|
|00002650| 75 65 7d 7c 7d 7b 7c 5c | 6d 65 74 61 7b 66 61 6c |ue}|}{|\|meta{fal|
|00002660| 73 65 7d 7c 7d 7c 2e 0a | 25 0a 25 20 5c 73 75 62 |se}|}|..|%.% \sub|
|00002670| 73 65 63 74 69 6f 6e 7b | 44 65 63 6c 61 72 69 6e |section{|Declarin|
|00002680| 67 20 6e 65 77 20 6f 70 | 74 69 6f 6e 73 7d 0a 25 |g new op|tions}.%|
|00002690| 0a 25 20 4f 70 74 69 6f | 6e 73 20 66 6f 72 20 63 |.% Optio|ns for c|
|000026a0| 6c 61 73 73 65 73 20 61 | 6e 64 20 70 61 63 6b 61 |lasses a|nd packa|
|000026b0| 67 65 73 20 61 72 65 20 | 62 75 69 6c 74 20 75 73 |ges are |built us|
|000026c0| 69 6e 67 20 74 68 65 20 | 73 61 6d 65 20 6d 61 63 |ing the |same mac|
|000026d0| 72 6f 73 2e 0a 25 0a 25 | 20 5c 44 65 73 63 72 69 |ros..%.%| \Descri|
|000026e0| 62 65 4d 61 63 72 6f 5c | 44 65 63 6c 61 72 65 4f |beMacro\|DeclareO|
|000026f0| 70 74 69 6f 6e 20 54 6f | 20 64 65 66 69 6e 65 20 |ption To| define |
|00002700| 61 20 62 75 69 6c 74 69 | 6e 20 6f 70 74 69 6f 6e |a builti|n option|
|00002710| 2c 20 75 73 65 0a 25 20 | 7c 5c 44 65 63 6c 61 72 |, use.% ||\Declar|
|00002720| 65 4f 70 74 69 6f 6e 7b | 7c 5c 6d 65 74 61 7b 6e |eOption{||\meta{n|
|00002730| 61 6d 65 7d 7c 7d 7b 7c | 5c 6d 65 74 61 7b 63 6f |ame}|}{||\meta{co|
|00002740| 64 65 7d 7c 7d 7c 2e 0a | 25 0a 25 20 5c 44 65 73 |de}|}|..|%.% \Des|
|00002750| 63 72 69 62 65 4d 61 63 | 72 6f 7b 5c 44 65 63 6c |cribeMac|ro{\Decl|
|00002760| 61 72 65 4f 70 74 69 6f | 6e 2a 7d 20 54 6f 20 64 |areOptio|n*} To d|
|00002770| 65 66 69 6e 65 20 74 68 | 65 20 64 65 66 61 75 6c |efine th|e defaul|
|00002780| 74 20 61 63 74 69 6f 6e | 20 74 6f 0a 25 20 70 65 |t action| to.% pe|
|00002790| 72 66 6f 72 6d 20 66 6f | 72 20 6c 6f 63 61 6c 20 |rform fo|r local |
|000027a0| 6f 70 74 69 6f 6e 73 20 | 77 68 69 63 68 20 68 61 |options |which ha|
|000027b0| 76 65 20 6e 6f 74 20 62 | 65 65 6e 20 64 65 63 6c |ve not b|een decl|
|000027c0| 61 72 65 64 2c 20 75 73 | 65 0a 25 20 7c 5c 44 65 |ared, us|e.% |\De|
|000027d0| 63 6c 61 72 65 4f 70 74 | 69 6f 6e 2a 7b 7c 5c 6d |clareOpt|ion*{|\m|
|000027e0| 65 74 61 7b 63 6f 64 65 | 7d 7c 7d 7c 2e 0a 25 0a |eta{code|}|}|..%.|
|000027f0| 25 20 7b 5c 65 6d 20 4e | 6f 74 65 5c 2f 7d 3a 20 |% {\em N|ote\/}: |
|00002800| 74 68 65 72 65 20 73 68 | 6f 75 6c 64 20 62 65 20 |there sh|ould be |
|00002810| 6e 6f 20 75 73 65 20 6f | 66 5c 5c 0a 25 20 20 7c |no use o|f\\.% ||
|00002820| 5c 52 65 71 75 69 72 65 | 50 61 63 6b 61 67 65 7c |\Require|Package||
|00002830| 2c 20 7c 5c 44 65 63 6c | 61 72 65 4f 70 74 69 6f |, |\Decl|areOptio|
|00002840| 6e 7c 2c 20 7c 5c 44 65 | 63 6c 61 72 65 4f 70 74 |n|, |\De|clareOpt|
|00002850| 69 6f 6e 2a 7c 20 6f 72 | 0a 25 20 20 20 7c 5c 50 |ion*| or|.% |\P|
|00002860| 72 6f 63 65 73 73 4f 70 | 74 69 6f 6e 73 7c 5c 5c |rocessOp|tions|\\|
|00002870| 0a 25 20 69 6e 73 69 64 | 65 20 7c 5c 44 65 63 6c |.% insid|e |\Decl|
|00002880| 61 72 65 4f 70 74 69 6f | 6e 7c 20 6f 72 20 7c 5c |areOptio|n| or |\|
|00002890| 44 65 63 6c 61 72 65 4f | 70 74 69 6f 6e 2a 7c 2e |DeclareO|ption*|.|
|000028a0| 0a 25 0a 25 20 50 6f 73 | 73 69 62 6c 65 20 75 73 |.%.% Pos|sible us|
|000028b0| 65 73 20 66 6f 72 20 7c | 5c 44 65 63 6c 61 72 65 |es for ||\Declare|
|000028c0| 4f 70 74 69 6f 6e 2a 7c | 20 69 6e 63 6c 75 64 65 |Option*|| include|
|000028d0| 3a 0a 25 0a 25 20 7c 5c | 44 65 63 6c 61 72 65 4f |:.%.% |\|DeclareO|
|000028e0| 70 74 69 6f 6e 2a 7b 7d | 7c 5c 5c 0a 25 20 20 20 |ption*{}||\\.% |
|000028f0| 20 44 6f 20 6e 6f 74 68 | 69 6e 67 2e 20 53 69 6c | Do noth|ing. Sil|
|00002900| 65 6e 74 6c 79 20 61 63 | 63 65 70 74 20 75 6e 6b |ently ac|cept unk|
|00002910| 6e 6f 77 6e 20 6f 70 74 | 69 6f 6e 73 2e 20 28 54 |nown opt|ions. (T|
|00002920| 68 69 73 20 73 75 70 70 | 72 65 73 73 65 73 20 74 |his supp|resses t|
|00002930| 68 65 0a 25 20 20 20 20 | 75 73 75 61 6c 20 77 61 |he.% |usual wa|
|00002940| 72 6e 69 6e 67 73 2e 29 | 0a 25 0a 25 20 7c 5c 44 |rnings.)|.%.% |\D|
|00002950| 65 63 6c 61 72 65 4f 70 | 74 69 6f 6e 2a 7b 5c 40 |eclareOp|tion*{\@|
|00002960| 75 6e 6b 6f 77 6e 6f 70 | 74 69 6f 6e 65 72 72 6f |unkownop|tionerro|
|00002970| 72 7d 7c 5c 5c 0a 25 20 | 20 20 20 20 43 6f 6d 70 |r}|\\.% | Comp|
|00002980| 6c 61 69 6e 20 61 62 6f | 75 74 20 75 6e 6b 6e 6f |lain abo|ut unkno|
|00002990| 77 6e 20 6c 6f 63 61 6c | 20 6f 70 74 69 6f 6e 73 |wn local| options|
|000029a0| 2e 20 28 54 68 65 20 69 | 6e 69 74 69 61 6c 20 73 |. (The i|nitial s|
|000029b0| 65 74 74 69 6e 67 20 66 | 6f 72 0a 25 20 20 20 20 |etting f|or.% |
|000029c0| 20 20 20 70 61 63 6b 61 | 67 65 20 66 69 6c 65 73 | packa|ge files|
|000029d0| 2e 29 0a 25 0a 25 20 7c | 5c 44 65 63 6c 61 72 65 |.).%.% ||\Declare|
|000029e0| 4f 70 74 69 6f 6e 2a 7b | 5c 50 61 73 73 4f 70 74 |Option*{|\PassOpt|
|000029f0| 69 6f 6e 73 54 6f 50 61 | 63 6b 61 67 65 7b 5c 43 |ionsToPa|ckage{\C|
|00002a00| 75 72 72 65 6e 74 4f 70 | 74 69 6f 6e 7d 7c 5e 5e |urrentOp|tion}|^^|
|00002a10| 41 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |A.% | |
|00002a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a30| 20 20 20 20 20 20 20 20 | 7c 7b 7c 5c 6d 65 74 61 | ||{|\meta|
|00002a40| 7b 70 6b 67 2d 6e 61 6d | 65 7d 7c 7d 7c 5c 5c 0a |{pkg-nam|e}|}|\\.|
|00002a50| 25 20 48 61 6e 64 6c 65 | 20 74 68 65 20 74 68 65 |% Handle| the the|
|00002a60| 20 63 75 72 72 65 6e 74 | 20 6f 70 74 69 6f 6e 20 | current| option |
|00002a70| 62 79 20 70 61 73 73 69 | 6e 67 20 69 74 20 6f 6e |by passi|ng it on|
|00002a80| 20 74 6f 20 74 68 65 20 | 70 61 63 6b 61 67 65 0a | to the |package.|
|00002a90| 25 20 5c 6d 65 74 61 7b | 70 6b 67 2d 6e 61 6d 65 |% \meta{|pkg-name|
|00002aa0| 7d 2c 20 77 68 69 63 68 | 20 77 69 6c 6c 20 70 72 |}, which| will pr|
|00002ab0| 65 73 75 6d 61 62 6c 79 | 20 62 65 20 6c 6f 61 64 |esumably| be load|
|00002ac0| 65 64 20 76 69 61 0a 25 | 20 7c 5c 52 65 71 75 69 |ed via.%| |\Requi|
|00002ad0| 72 65 50 61 63 6b 61 67 | 65 7c 20 6c 61 74 65 72 |rePackag|e| later|
|00002ae0| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 2e 20 54 68 | in the |file. Th|
|00002af0| 69 73 20 69 73 20 75 73 | 65 66 75 6c 20 66 6f 72 |is is us|eful for|
|00002b00| 20 62 75 69 6c 64 69 6e | 67 0a 25 20 60 65 78 74 | buildin|g.% `ext|
|00002b10| 65 6e 73 69 6f 6e 27 20 | 70 61 63 6b 61 67 65 73 |ension' |packages|
|00002b20| 2c 20 74 68 61 74 20 70 | 65 72 68 61 70 73 20 68 |, that p|erhaps h|
|00002b30| 61 6e 64 6c 65 20 61 20 | 63 6f 75 70 6c 65 20 6f |andle a |couple o|
|00002b40| 66 20 6e 65 77 20 6f 70 | 74 69 6f 6e 73 2c 0a 25 |f new op|tions,.%|
|00002b50| 20 62 75 74 20 74 68 65 | 6e 20 70 61 73 73 20 65 | but the|n pass e|
|00002b60| 76 65 72 79 74 68 69 6e | 67 20 65 6c 73 65 20 6f |verythin|g else o|
|00002b70| 6e 20 74 6f 20 61 6e 20 | 65 78 69 73 74 69 6e 67 |n to an |existing|
|00002b80| 20 70 61 63 6b 61 67 65 | 2e 0a 25 0a 25 20 7c 5c | package|..%.% |\|
|00002b90| 44 65 63 6c 61 72 65 4f | 70 74 69 6f 6e 2a 7b 5c |DeclareO|ption*{\|
|00002ba0| 49 6e 70 75 74 49 66 46 | 69 6c 65 45 78 69 73 74 |InputIfF|ileExist|
|00002bb0| 73 7b 78 78 2d 5c 43 75 | 72 72 65 6e 74 4f 70 74 |s{xx-\Cu|rrentOpt|
|00002bc0| 69 6f 6e 2e 79 79 79 7d | 25 7c 5c 5c 0a 25 20 7c |ion.yyy}|%|\\.% ||
|00002bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7b | | {|
|00002be0| 7d 25 7c 5c 5c 20 0a 25 | 20 7c 20 20 20 20 20 20 |}%|\\ .%| | |
|00002bf0| 20 20 20 20 20 20 20 20 | 20 7b 5c 4f 70 74 69 6f | | {\Optio|
|00002c00| 6e 4e 6f 74 55 73 65 64 | 7d 7d 7c 5c 5c 20 0a 25 |nNotUsed|}}|\\ .%|
|00002c10| 20 20 48 61 6e 64 6c 65 | 20 74 68 65 20 6f 70 74 | Handle| the opt|
|00002c20| 69 6f 6e 20 66 6f 6f 20 | 62 79 20 6c 6f 61 64 69 |ion foo |by loadi|
|00002c30| 6e 67 20 74 68 65 20 66 | 69 6c 65 20 7c 78 78 2d |ng the f|ile |xx-|
|00002c40| 66 6f 6f 2e 79 79 79 7c | 20 69 66 20 69 74 0a 25 |foo.yyy|| if it.%|
|00002c50| 20 20 65 78 69 73 74 73 | 2c 20 6f 74 68 65 72 77 | exists|, otherw|
|00002c60| 69 73 65 20 64 6f 20 6e | 6f 74 68 69 6e 67 2c 20 |ise do n|othing, |
|00002c70| 62 75 74 20 64 65 63 6c | 61 72 65 20 74 68 61 74 |but decl|are that|
|00002c80| 20 74 68 65 20 6f 70 74 | 69 6f 6e 20 77 61 73 20 | the opt|ion was |
|00002c90| 6e 6f 74 0a 25 20 20 75 | 73 65 64 2e 0a 25 20 20 |not.% u|sed..% |
|00002ca0| 41 63 74 75 61 6c 6c 79 | 20 74 68 65 20 7c 5c 4f |Actually| the |\O|
|00002cb0| 70 74 69 6f 6e 4e 6f 74 | 55 73 65 64 7c 20 64 65 |ptionNot|Used| de|
|00002cc0| 63 6c 61 72 61 74 69 6f | 6e 20 69 73 20 6f 6e 6c |claratio|n is onl|
|00002cd0| 79 20 6e 65 65 64 65 64 | 20 69 66 20 74 68 69 73 |y needed| if this|
|00002ce0| 20 69 73 0a 25 20 20 62 | 65 69 6e 67 20 75 73 65 | is.% b|eing use|
|00002cf0| 64 20 69 6e 20 63 6c 61 | 73 73 20 66 69 6c 65 73 |d in cla|ss files|
|00002d00| 2c 20 62 75 74 20 64 6f | 65 73 20 6e 6f 20 68 61 |, but do|es no ha|
|00002d10| 72 6d 20 69 6e 20 70 61 | 63 6b 61 67 65 20 66 69 |rm in pa|ckage fi|
|00002d20| 6c 65 73 2e 0a 25 0a 25 | 0a 25 20 5c 73 75 62 73 |les..%.%|.% \subs|
|00002d30| 65 63 74 69 6f 6e 7b 53 | 61 66 65 20 49 6e 70 75 |ection{S|afe Inpu|
|00002d40| 74 20 4d 61 63 72 6f 73 | 7d 0a 25 20 5c 44 65 73 |t Macros|}.% \Des|
|00002d50| 63 72 69 62 65 4d 61 63 | 72 6f 7b 5c 49 6e 70 75 |cribeMac|ro{\Inpu|
|00002d60| 74 49 66 46 69 6c 65 45 | 78 69 73 74 73 7d 0a 25 |tIfFileE|xists}.%|
|00002d70| 20 20 7c 5c 49 6e 70 75 | 74 49 66 46 69 6c 65 45 | |\Inpu|tIfFileE|
|00002d80| 78 69 73 74 73 7b 7c 5c | 6d 65 74 61 7b 66 69 6c |xists{|\|meta{fil|
|00002d90| 65 7d 7c 7d 7b 7c 5c 6d | 65 74 61 7b 74 68 65 6e |e}|}{|\m|eta{then|
|00002da0| 7d 7c 7d 7b 7c 5c 6d 65 | 74 61 7b 65 6c 73 65 7d |}|}{|\me|ta{else}|
|00002db0| 7c 7d 7c 5c 5c 0a 25 20 | 49 6e 70 75 74 73 20 5c ||}|\\.% |Inputs \|
|00002dc0| 6d 65 74 61 7b 66 69 6c | 65 7d 20 69 66 20 69 74 |meta{fil|e} if it|
|00002dd0| 20 65 78 69 73 74 73 2e | 20 49 6d 6d 65 64 69 61 | exists.| Immedia|
|00002de0| 74 65 6c 79 20 62 65 66 | 6f 72 65 20 74 68 65 20 |tely bef|ore the |
|00002df0| 69 6e 70 75 74 2c 0a 25 | 20 5c 6d 65 74 61 7b 74 |input,.%| \meta{t|
|00002e00| 68 65 6e 7d 20 69 73 20 | 65 78 65 63 75 74 65 64 |hen} is |executed|
|00002e10| 2e 20 4f 74 68 65 72 77 | 69 73 65 20 5c 6d 65 74 |. Otherw|ise \met|
|00002e20| 61 7b 65 6c 73 65 7d 20 | 69 73 20 65 78 65 63 75 |a{else} |is execu|
|00002e30| 74 65 64 2e 0a 25 0a 25 | 20 5c 44 65 73 63 72 69 |ted..%.%| \Descri|
|00002e40| 62 65 4d 61 63 72 6f 7b | 5c 49 66 46 69 6c 65 45 |beMacro{|\IfFileE|
|00002e50| 78 69 73 74 73 7d 0a 25 | 20 41 73 20 61 62 6f 76 |xists}.%| As abov|
|00002e60| 65 2c 20 62 75 74 20 64 | 6f 65 73 20 6e 6f 74 20 |e, but d|oes not |
|00002e70| 69 6e 70 75 74 20 74 68 | 65 20 66 69 6c 65 2e 0a |input th|e file..|
|00002e80| 25 0a 25 20 4f 6e 65 20 | 74 68 69 6e 67 20 79 6f |%.% One |thing yo|
|00002e90| 75 20 6d 69 67 68 74 20 | 6c 69 6b 65 20 74 6f 20 |u might |like to |
|00002ea0| 70 75 74 20 69 6e 20 74 | 68 65 20 5c 6d 65 74 61 |put in t|he \meta|
|00002eb0| 7b 65 6c 73 65 7d 20 63 | 6c 61 75 73 65 20 69 73 |{else} c|lause is|
|00002ec0| 0a 25 0a 25 20 5c 44 65 | 73 63 72 69 62 65 4d 61 |.%.% \De|scribeMa|
|00002ed0| 63 72 6f 7b 5c 40 6d 69 | 73 73 69 6e 67 66 69 6c |cro{\@mi|ssingfil|
|00002ee0| 65 65 72 72 6f 72 7d 0a | 25 20 54 68 69 73 20 73 |eerror}.|% This s|
|00002ef0| 74 61 72 74 73 20 61 6e | 20 69 6e 74 65 72 61 63 |tarts an| interac|
|00002f00| 74 69 76 65 20 72 65 71 | 75 65 73 74 20 66 6f 72 |tive req|uest for|
|00002f10| 20 61 20 66 69 6c 65 6e | 61 6d 65 2c 20 73 75 70 | a filen|ame, sup|
|00002f20| 70 6c 79 69 6e 67 20 64 | 65 66 61 75 6c 74 0a 25 |plying d|efault.%|
|00002f30| 20 65 78 74 65 6e 73 69 | 6f 6e 73 2e 20 4a 75 73 | extensi|ons. Jus|
|00002f40| 74 20 68 69 74 74 69 6e | 67 20 72 65 74 75 72 6e |t hittin|g return|
|00002f50| 20 63 61 75 73 65 73 20 | 74 68 65 20 77 68 6f 6c | causes |the whol|
|00002f60| 65 20 69 6e 70 75 74 20 | 74 6f 20 62 65 20 73 6b |e input |to be sk|
|00002f70| 69 70 70 65 64 2e 0a 25 | 20 28 50 65 72 68 61 70 |ipped..%| (Perhap|
|00002f80| 73 20 77 65 20 73 68 6f | 75 6c 64 20 6c 65 74 20 |s we sho|uld let |
|00002f90| 7c 78 7c 20 64 65 6e 6f | 74 65 20 71 75 69 74 20 ||x| deno|te quit |
|00002fa0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 72 75 6e 2c |the curr|ent run,|
|00002fb0| 20 61 73 20 6c 6f 6e 67 | 20 61 73 20 6e 6f 0a 25 | as long| as no.%|
|00002fc0| 20 6f 6e 65 20 77 61 6e | 74 73 20 74 6f 20 69 6e | one wan|ts to in|
|00002fd0| 70 75 74 20 61 20 66 69 | 6c 65 20 6f 66 20 74 68 |put a fi|le of th|
|00002fe0| 61 74 20 6e 61 6d 65 2e | 0a 25 0a 25 20 5c 44 65 |at name.|.%.% \De|
|00002ff0| 73 63 72 69 62 65 4d 61 | 63 72 6f 7b 5c 69 6e 70 |scribeMa|cro{\inp|
|00003000| 75 74 7d 0a 25 20 54 68 | 69 73 20 68 61 73 20 62 |ut}.% Th|is has b|
|00003010| 65 65 6e 20 72 65 64 65 | 66 69 6e 65 64 20 66 72 |een rede|fined fr|
|00003020| 6f 6d 20 74 68 65 20 5c | 4c 61 54 65 58 32 2e 30 |om the \|LaTeX2.0|
|00003030| 39 20 64 65 66 69 6e 69 | 74 69 6f 6e 2c 20 69 6e |9 defini|tion, in|
|00003040| 20 74 65 72 6d 73 20 6f | 66 0a 25 20 74 68 65 20 | terms o|f.% the |
|00003050| 6e 65 77 20 63 6f 6d 6d | 61 6e 64 73 20 7c 5c 49 |new comm|ands |\I|
|00003060| 6e 70 75 74 49 66 46 69 | 6c 65 45 78 69 73 74 73 |nputIfFi|leExists|
|00003070| 7c 20 61 6e 64 20 7c 5c | 40 6d 69 73 73 69 6e 67 || and |\|@missing|
|00003080| 66 69 6c 65 65 72 72 6f | 72 7c 2e 0a 25 0a 25 0a |fileerro|r|..%.%.|
|00003090| 25 20 5c 44 65 73 63 72 | 69 62 65 4d 61 63 72 6f |% \Descr|ibeMacro|
|000030a0| 7b 5c 6c 69 73 74 66 69 | 6c 65 73 7d 20 47 69 76 |{\listfi|les} Giv|
|000030b0| 69 6e 67 20 74 68 69 73 | 20 64 65 63 6c 61 72 61 |ing this| declara|
|000030c0| 74 69 6f 6e 20 69 6e 20 | 74 68 65 20 70 72 65 61 |tion in |the prea|
|000030d0| 6d 62 6c 65 0a 25 20 63 | 61 75 73 65 73 20 61 20 |mble.% c|auses a |
|000030e0| 6c 69 73 74 20 6f 66 20 | 61 6c 6c 20 66 69 6c 65 |list of |all file|
|000030f0| 73 20 69 6e 70 75 74 20 | 76 69 61 20 74 68 65 20 |s input |via the |
|00003100| 60 73 61 66 65 20 69 6e | 70 75 74 27 20 63 6f 6d |`safe in|put' com|
|00003110| 6d 61 6e 64 73 20 74 6f | 20 62 65 0a 25 20 6c 69 |mands to| be.% li|
|00003120| 73 74 65 64 20 61 74 20 | 74 68 65 20 65 6e 64 2e |sted at |the end.|
|00003130| 20 41 6e 79 20 73 74 72 | 69 6e 67 73 20 73 70 65 | Any str|ings spe|
|00003140| 63 69 66 69 65 64 20 69 | 6e 20 74 68 65 20 6f 70 |cified i|n the op|
|00003150| 74 69 6f 6e 61 6c 20 61 | 72 67 75 6d 65 6e 74 20 |tional a|rgument |
|00003160| 74 6f 0a 25 20 7c 5c 50 | 72 6f 76 69 64 65 73 50 |to.% |\P|rovidesP|
|00003170| 61 63 6b 61 67 65 7c 20 | 61 72 65 20 6c 69 73 74 |ackage| |are list|
|00003180| 65 64 20 61 6c 6f 6e 67 | 73 69 64 65 20 74 68 65 |ed along|side the|
|00003190| 20 66 69 6c 65 20 6e 61 | 6d 65 2e 20 53 6f 20 66 | file na|me. So f|
|000031a0| 69 6c 65 73 20 69 6e 0a | 25 20 73 74 61 6e 64 61 |iles in.|% standa|
|000031b0| 72 64 20 28 61 6e 64 20 | 6f 74 68 65 72 20 6e 6f |rd (and |other no|
|000031c0| 6e 2d 73 74 61 6e 64 61 | 72 64 29 20 64 69 73 74 |n-standa|rd) dist|
|000031d0| 72 69 62 75 74 69 6f 6e | 73 20 63 61 6e 20 70 75 |ribution|s can pu|
|000031e0| 74 20 69 6e 66 6f 72 6d | 61 74 69 76 65 0a 25 20 |t inform|ative.% |
|000031f0| 73 74 72 69 6e 67 73 20 | 69 6e 20 74 68 69 73 20 |strings |in this |
|00003200| 61 72 67 75 6d 65 6e 74 | 2e 0a 25 0a 25 20 5c 53 |argument|..%.% \S|
|00003210| 74 6f 70 45 76 65 6e 74 | 75 61 6c 6c 79 7b 7d 0a |topEvent|ually{}.|
|00003220| 25 0a 25 20 5c 73 65 63 | 74 69 6f 6e 7b 49 6d 70 |%.% \sec|tion{Imp|
|00003230| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 7d 0a 25 0a 25 |lementat|ion}.%.%|
|00003240| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00003250| 63 6f 64 65 7d 0a 25 3c | 2a 32 65 6b 65 72 6e 65 |code}.%<|*2ekerne|
|00003260| 6c 3e 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |l>.% |\end{mac|
|00003270| 72 6f 63 6f 64 65 7d 0a | 25 0a 25 0a 25 20 5c 63 |rocode}.|%.%.% \c|
|00003280| 68 61 6e 67 65 73 7b 76 | 30 2e 32 67 7d 7b 31 39 |hanges{v|0.2g}{19|
|00003290| 39 33 2f 31 31 2f 32 33 | 7d 0a 25 20 20 20 20 20 |93/11/23|}.% |
|000032a0| 20 20 20 20 7b 56 61 72 | 69 6f 75 73 20 6d 61 63 | {Var|ious mac|
|000032b0| 72 6f 73 20 6e 6f 77 20 | 6d 6f 76 65 64 20 74 6f |ros now |moved to|
|000032c0| 20 6c 61 74 65 78 2e 74 | 65 78 2e 7d 0a 25 20 5c | latex.t|ex.}.% \|
|000032d0| 63 68 61 6e 67 65 73 7b | 76 30 2e 32 67 7d 7b 31 |changes{|v0.2g}{1|
|000032e0| 39 39 33 2f 31 31 2f 32 | 33 7d 0a 25 20 20 20 20 |993/11/2|3}.% |
|000032f0| 20 20 20 20 20 7b 57 61 | 72 6e 69 6e 67 73 20 61 | {Wa|rnings a|
|00003300| 6e 64 20 65 72 72 6f 72 | 73 20 6e 6f 77 20 64 69 |nd error|s now di|
|00003310| 72 65 63 74 6c 79 20 63 | 6f 64 65 64 2e 7d 0a 25 |rectly c|oded.}.%|
|00003320| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 32 68 7d | \change|s{v0.2h}|
|00003330| 7b 31 39 39 33 2f 31 31 | 2f 32 38 7d 0a 25 20 20 |{1993/11|/28}.% |
|00003340| 20 20 20 20 20 20 20 7b | 50 72 69 6d 69 74 69 76 | {|Primitiv|
|00003350| 65 20 66 69 6c 65 6e 61 | 6d 65 73 20 6e 6f 77 20 |e filena|mes now |
|00003360| 74 65 72 6d 69 6e 61 74 | 65 64 20 62 79 20 73 70 |terminat|ed by sp|
|00003370| 61 63 65 20 6e 6f 74 20 | 5c 63 6d 64 5c 72 65 6c |ace not |\cmd\rel|
|00003380| 61 78 2e 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |ax.}.% \|changes{|
|00003390| 76 30 2e 32 68 7d 7b 31 | 39 39 33 2f 31 31 2f 32 |v0.2h}{1|993/11/2|
|000033a0| 38 7d 0a 25 20 20 20 20 | 20 20 20 20 20 7b 44 69 |8}.% | {Di|
|000033b0| 72 65 63 74 6f 72 79 20 | 73 79 6e 74 61 78 20 63 |rectory |syntax c|
|000033c0| 68 65 63 69 6e 67 20 6d | 6f 76 65 64 20 74 6f 20 |hecing m|oved to |
|000033d0| 64 69 72 63 68 65 63 6b | 2e 64 74 78 7d 0a 25 20 |dircheck|.dtx}.% |
|000033e0| 5c 63 68 61 6e 67 65 73 | 7b 76 30 2e 32 68 7d 7b |\changes|{v0.2h}{|
|000033f0| 31 39 39 33 2f 31 31 2f | 32 38 7d 0a 25 20 20 20 |1993/11/|28}.% |
|00003400| 20 20 20 20 20 20 7b 41 | 73 73 6f 72 74 65 64 20 | {A|ssorted |
|00003410| 63 6f 6d 6d 61 6e 64 73 | 20 6e 6f 77 20 69 6e 20 |commands| now in |
|00003420| 74 68 65 20 6b 65 72 6e | 65 6c 20 72 65 6d 6f 76 |the kern|el remov|
|00003430| 65 64 2e 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |ed.}.% \|changes{|
|00003440| 76 30 2e 32 69 7d 7b 31 | 39 39 33 2f 31 32 2f 30 |v0.2i}{1|993/12/0|
|00003450| 33 7d 0a 25 20 20 20 20 | 20 20 20 20 20 7b 5c 63 |3}.% | {\c|
|00003460| 6d 64 5c 40 6f 6e 6c 79 | 70 72 65 61 6d 62 6c 65 |md\@only|preamble|
|00003470| 3a 20 4d 61 6e 79 20 63 | 6f 6d 6d 61 6e 64 73 20 |: Many c|ommands |
|00003480| 64 65 63 6c 61 72 65 64 | 2e 7d 0a 25 20 5c 63 68 |declared|.}.% \ch|
|00003490| 61 6e 67 65 73 7b 76 30 | 2e 32 69 7d 7b 31 39 39 |anges{v0|.2i}{199|
|000034a0| 33 2f 31 32 2f 30 33 7d | 0a 25 20 20 20 20 20 20 |3/12/03}|.% |
|000034b0| 20 20 20 7b 52 65 6d 6f | 76 65 64 20 6f 62 73 6f | {Remo|ved obso|
|000034c0| 6c 65 74 65 20 5c 63 6d | 64 7b 5c 40 64 6f 63 75 |lete \cm|d{\@docu|
|000034d0| 6d 65 6e 74 63 6c 61 73 | 73 7d 7d 0a 25 20 5c 63 |mentclas|s}}.% \c|
|000034e0| 68 61 6e 67 65 73 7b 76 | 30 2e 32 6f 7d 7b 31 39 |hanges{v|0.2o}{19|
|000034f0| 39 33 2f 31 32 2f 31 33 | 7d 0a 25 20 20 20 20 20 |93/12/13|}.% |
|00003500| 20 20 20 20 7b 52 65 6d | 6f 76 65 64 20 73 65 74 | {Rem|oved set|
|00003510| 74 69 6e 67 20 5c 63 6d | 64 5c 65 72 72 63 6f 6e |ting \cm|d\errcon|
|00003520| 74 65 78 74 6c 69 6e 65 | 73 5c 20 28 6e 6f 77 20 |textline|s\ (now |
|00003530| 69 6e 20 6c 61 74 65 78 | 2e 74 65 78 29 7d 0a 25 |in latex|.tex)}.%|
|00003540| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 32 70 7d | \change|s{v0.2p}|
|00003550| 7b 31 39 39 33 2f 31 32 | 2f 31 35 7d 0a 25 20 20 |{1993/12|/15}.% |
|00003560| 20 20 20 20 20 20 20 7b | 52 65 6d 6f 76 65 64 20 | {|Removed |
|00003570| 65 78 74 72 61 20 60 2e | 27 73 20 66 72 6f 6d 20 |extra `.|'s from |
|00003580| 5c 63 6d 64 7b 5c 40 40 | 77 61 72 6e 69 6e 67 7d |\cmd{\@@|warning}|
|00003590| 73 7d 0a 25 20 5c 63 68 | 61 6e 67 65 73 7b 76 30 |s}.% \ch|anges{v0|
|000035a0| 2e 32 73 7d 7b 31 39 39 | 34 2f 30 31 2f 31 37 7d |.2s}{199|4/01/17}|
|000035b0| 0a 25 20 20 20 20 20 20 | 20 20 20 7b 41 64 64 65 |.% | {Adde|
|000035c0| 64 20 6d 61 6e 79 20 6d | 6f 72 65 20 5c 63 6d 64 |d many m|ore \cmd|
|000035d0| 7b 5c 40 6f 6e 6c 79 70 | 72 65 61 6d 62 6c 65 7d |{\@onlyp|reamble}|
|000035e0| 20 63 6f 6d 6d 61 6e 64 | 73 7d 0a 25 20 5c 63 68 | command|s}.% \ch|
|000035f0| 61 6e 67 65 73 7b 76 30 | 2e 32 73 7d 7b 31 39 39 |anges{v0|.2s}{199|
|00003600| 34 2f 30 31 2f 31 37 7d | 0a 25 20 20 20 20 20 20 |4/01/17}|.% |
|00003610| 20 20 20 7b 57 72 61 70 | 70 65 64 20 6c 6f 6e 67 | {Wrap|ped long|
|00003620| 20 6c 69 6e 65 73 20 74 | 6f 20 63 6f 6c 75 6d 6e | lines t|o column|
|00003630| 20 37 32 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b | 72}.% \|changes{|
|00003640| 76 30 2e 33 61 7d 7b 31 | 39 39 34 2f 30 33 2f 30 |v0.3a}{1|994/03/0|
|00003650| 32 7d 0a 25 20 20 20 20 | 20 20 20 20 20 7b 52 65 |2}.% | {Re|
|00003660| 6d 6f 76 65 20 6e 65 65 | 64 20 66 6f 72 20 64 72 |move nee|d for dr|
|00003670| 69 76 65 72 20 66 69 6c | 65 7d 0a 25 20 5c 63 68 |iver fil|e}.% \ch|
|00003680| 61 6e 67 65 73 7b 76 30 | 2e 33 62 7d 7b 31 39 39 |anges{v0|.3b}{199|
|00003690| 34 2f 30 33 2f 30 38 7d | 0a 25 20 20 20 20 20 20 |4/03/08}|.% |
|000036a0| 20 20 20 7b 4d 6f 64 69 | 66 79 20 64 72 69 76 65 | {Modi|fy drive|
|000036b0| 72 20 63 6f 64 65 20 69 | 6e 74 6f 20 60 6e 65 77 |r code i|nto `new|
|000036c0| 20 73 74 79 6c 65 27 7d | 0a 25 20 5c 63 68 61 6e | style'}|.% \chan|
|000036d0| 67 65 73 7b 76 30 2e 33 | 63 7d 7b 31 39 39 34 2f |ges{v0.3|c}{1994/|
|000036e0| 30 33 2f 31 32 7d 0a 25 | 20 20 20 20 20 20 20 20 |03/12}.%| |
|000036f0| 20 7b 43 68 61 6e 67 65 | 20 6e 61 6d 65 20 66 72 | {Change| name fr|
|00003700| 6f 6d 20 64 6f 63 63 6c | 61 73 73 20 74 6f 20 6c |om doccl|ass to l|
|00003710| 74 63 6c 61 73 73 7d 0a | 25 20 5c 63 68 61 6e 67 |tclass}.|% \chang|
|00003720| 65 73 7b 76 30 2e 33 68 | 7d 7b 31 39 39 34 2f 30 |es{v0.3h|}{1994/0|
|00003730| 34 2f 32 35 7d 0a 25 20 | 20 20 20 20 20 20 20 20 |4/25}.% | |
|00003740| 7b 52 65 6d 6f 76 65 64 | 20 73 70 75 72 69 6f 75 |{Removed| spuriou|
|00003750| 73 20 65 78 74 72 61 20 | 60 2e 27 73 20 61 74 20 |s extra |`.'s at |
|00003760| 74 68 65 20 65 6e 64 20 | 6f 66 20 65 72 72 6f 72 |the end |of error|
|00003770| 20 6d 65 73 73 61 67 65 | 73 7d 0a 25 20 5c 63 68 | message|s}.% \ch|
|00003780| 61 6e 67 65 73 7b 76 31 | 2e 30 61 7d 7b 31 39 39 |anges{v1|.0a}{199|
|00003790| 34 2f 30 34 2f 32 39 7d | 0a 25 20 20 20 20 20 20 |4/04/29}|.% |
|000037a0| 20 20 20 7b 43 68 61 6e | 67 65 20 76 65 72 73 69 | {Chan|ge versi|
|000037b0| 6f 6e 20 6e 75 6d 62 65 | 72 20 74 6f 20 31 20 28 |on numbe|r to 1 (|
|000037c0| 6e 6f 20 6f 74 68 65 72 | 20 63 68 61 6e 67 65 29 |no other| change)|
|000037d0| 7d 0a 25 20 5c 63 68 61 | 6e 67 65 73 7b 76 31 2e |}.% \cha|nges{v1.|
|000037e0| 30 6b 7d 7b 31 39 39 34 | 2f 31 31 2f 30 33 7d 0a |0k}{1994|/11/03}.|
|000037f0| 25 20 20 20 20 20 20 20 | 20 20 7b 4d 6f 76 65 20 |% | {Move |
|00003800| 5c 63 73 7b 40 6d 69 73 | 73 69 6e 67 66 69 6c 65 |\cs{@mis|singfile|
|00003810| 65 72 72 6f 72 7d 20 74 | 6f 20 6c 74 66 69 6c 65 |error} t|o ltfile|
|00003820| 73 7d 0a 25 0a 25 20 5c | 62 65 67 69 6e 7b 6d 61 |s}.%.% \|begin{ma|
|00003830| 63 72 6f 7d 7b 5c 69 66 | 40 63 6f 6d 70 61 74 69 |cro}{\if|@compati|
|00003840| 62 69 6c 69 74 79 7d 0a | 25 20 20 20 20 54 68 65 |bility}.|% The|
|00003850| 20 66 6c 61 67 20 66 6f | 72 20 63 6f 6d 70 61 74 | flag fo|r compat|
|00003860| 69 62 69 6c 74 79 20 6d | 6f 64 65 2e 0a 25 20 20 |ibilty m|ode..% |
|00003870| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|00003880| 64 65 7d 0a 5c 6e 65 77 | 69 66 5c 69 66 40 63 6f |de}.\new|if\if@co|
|00003890| 6d 70 61 74 69 62 69 6c | 69 74 79 0a 25 20 20 20 |mpatibil|ity.% |
|000038a0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|000038b0| 0a 25 20 5c 65 6e 64 7b | 6d 61 63 72 6f 7d 0a 25 |.% \end{|macro}.%|
|000038c0| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|000038d0| 7b 5c 40 64 6f 63 75 6d | 65 6e 74 63 6c 61 73 73 |{\@docum|entclass|
|000038e0| 68 6f 6f 6b 7d 0a 25 20 | 20 20 20 54 68 65 20 68 |hook}.% | The h|
|000038f0| 6f 6f 6b 20 63 61 6c 6c | 65 64 20 61 66 74 65 72 |ook call|ed after|
|00003900| 20 74 68 65 20 66 69 72 | 73 74 20 7c 5c 64 6f 63 | the fir|st |\doc|
|00003910| 75 6d 65 6e 74 63 6c 61 | 73 73 7c 20 63 6f 6d 6d |umentcla|ss| comm|
|00003920| 61 6e 64 2e 20 20 42 79 | 0a 25 20 20 20 20 64 65 |and. By|.% de|
|00003930| 66 61 75 6c 74 20 74 68 | 69 73 20 63 68 65 63 6b |fault th|is check|
|00003940| 73 20 74 6f 20 73 65 65 | 20 69 66 20 7c 5c 40 6e |s to see| if |\@n|
|00003950| 6f 72 6d 61 6c 73 69 7a | 65 7c 20 69 73 20 75 6e |ormalsiz|e| is un|
|00003960| 64 65 66 69 6e 65 64 2c | 20 61 6e 64 20 69 66 0a |defined,| and if.|
|00003970| 25 20 20 20 20 73 6f 2c | 20 73 65 74 73 20 69 74 |% so,| sets it|
|00003980| 20 74 6f 20 7c 5c 6e 6f | 72 6d 61 6c 73 69 7a 65 | to |\no|rmalsize|
|00003990| 7c 2e 0a 25 20 5c 63 68 | 61 6e 67 65 73 7b 76 30 ||..% \ch|anges{v0|
|000039a0| 2e 32 71 7d 7b 31 39 39 | 33 2f 31 32 2f 31 37 7d |.2q}{199|3/12/17}|
|000039b0| 0a 25 20 20 20 20 20 20 | 20 20 20 7b 4d 61 63 72 |.% | {Macr|
|000039c0| 6f 20 61 64 64 65 64 7d | 0a 25 20 5c 63 68 61 6e |o added}|.% \chan|
|000039d0| 67 65 73 7b 76 30 2e 32 | 7a 7d 7b 31 39 39 34 2f |ges{v0.2|z}{1994/|
|000039e0| 30 32 2f 31 30 7d 0a 25 | 20 20 20 20 20 20 20 20 |02/10}.%| |
|000039f0| 20 7b 43 68 61 6e 67 65 | 64 20 74 68 65 20 6e 61 | {Change|d the na|
|00003a00| 6d 65 20 66 72 6f 6d 20 | 5c 63 6d 64 7b 5c 40 63 |me from |\cmd{\@c|
|00003a10| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 7d 20 74 6f |ompatibi|lity} to|
|00003a20| 0a 25 20 20 20 20 20 20 | 20 20 20 20 5c 63 6d 64 |.% | \cmd|
|00003a30| 7b 5c 40 64 6f 63 75 6d | 65 6e 74 63 6c 61 73 73 |{\@docum|entclass|
|00003a40| 68 6f 6f 6b 7d 2c 20 61 | 6e 64 20 61 64 64 65 64 |hook}, a|nd added|
|00003a50| 20 74 68 65 20 63 68 65 | 63 6b 20 66 6f 72 20 77 | the che|ck for w|
|00003a60| 68 65 74 68 65 72 0a 25 | 20 20 20 20 20 20 20 20 |hether.%| |
|00003a70| 20 20 5c 63 6d 64 7b 5c | 40 6e 6f 72 6d 61 6c 73 | \cmd{\|@normals|
|00003a80| 69 7a 65 7d 20 68 61 73 | 20 62 65 65 6e 20 64 65 |ize} has| been de|
|00003a90| 66 69 6e 65 64 2e 20 20 | 41 53 41 4a 2e 7d 0a 25 |fined. |ASAJ.}.%|
|00003aa0| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00003ab0| 63 6f 64 65 7d 0a 5c 64 | 65 66 5c 40 64 6f 63 75 |code}.\d|ef\@docu|
|00003ac0| 6d 65 6e 74 63 6c 61 73 | 73 68 6f 6f 6b 7b 25 0a |mentclas|shook{%.|
|00003ad0| 20 20 20 5c 69 66 78 5c | 40 6e 6f 72 6d 61 6c 73 | \ifx\|@normals|
|00003ae0| 69 7a 65 5c 40 75 6e 64 | 65 66 69 6e 65 64 0a 20 |ize\@und|efined. |
|00003af0| 20 20 20 20 20 5c 6c 65 | 74 5c 40 6e 6f 72 6d 61 | \le|t\@norma|
|00003b00| 6c 73 69 7a 65 5c 6e 6f | 72 6d 61 6c 73 69 7a 65 |lsize\no|rmalsize|
|00003b10| 0a 20 20 20 5c 66 69 0a | 7d 0a 25 20 20 20 20 5c |. \fi.|}.% \|
|00003b20| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00003b30| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 0a 25 | \end{ma|cro}.%.%|
|00003b40| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b | \begin|{macro}{|
|00003b50| 5c 40 64 65 63 6c 61 72 | 65 64 6f 70 74 69 6f 6e |\@declar|edoption|
|00003b60| 73 7d 0a 25 20 20 20 20 | 54 68 69 73 20 6c 69 73 |s}.% |This lis|
|00003b70| 74 20 69 73 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |t is aut|omatical|
|00003b80| 6c 79 20 62 75 69 6c 74 | 20 62 79 20 7c 5c 44 65 |ly built| by |\De|
|00003b90| 63 6c 61 72 65 4f 70 74 | 69 6f 6e 7c 2e 0a 25 20 |clareOpt|ion|..% |
|00003ba0| 20 20 20 49 74 20 69 73 | 20 74 68 65 20 6c 69 73 | It is| the lis|
|00003bb0| 74 20 6f 66 20 6f 70 74 | 69 6f 6e 73 20 28 73 65 |t of opt|ions (se|
|00003bc0| 70 61 72 61 74 65 64 20 | 62 79 20 63 6f 6d 6d 61 |parated |by comma|
|00003bd0| 73 29 20 64 65 63 6c 61 | 72 65 64 20 69 6e 0a 25 |s) decla|red in.%|
|00003be0| 20 20 20 20 74 68 65 20 | 63 6c 61 73 73 20 6f 72 | the |class or|
|00003bf0| 20 70 61 63 6b 61 67 65 | 20 66 69 6c 65 20 61 6e | package| file an|
|00003c00| 64 20 69 74 20 64 65 66 | 69 6e 65 73 20 74 68 65 |d it def|ines the|
|00003c10| 20 6f 72 64 65 72 20 69 | 6e 20 77 68 69 63 68 20 | order i|n which |
|00003c20| 74 68 65 0a 25 20 20 20 | 20 74 68 65 20 63 6f 72 |the.% | the cor|
|00003c30| 72 65 73 70 6f 6e 64 69 | 6e 67 20 7c 5c 64 73 40 |respondi|ng |\ds@|
|00003c40| 7c 5c 6d 65 74 61 7b 6f | 70 74 69 6f 6e 7d 20 63 ||\meta{o|ption} c|
|00003c50| 6f 6d 6d 61 6e 64 73 20 | 61 72 65 20 65 78 65 63 |ommands |are exec|
|00003c60| 75 74 65 64 2e 0a 25 20 | 20 20 20 41 6c 6c 20 6c |uted..% | All l|
|00003c70| 6f 63 61 6c 20 5c 6d 65 | 74 61 7b 6f 70 74 69 6f |ocal \me|ta{optio|
|00003c80| 6e 7d 73 20 77 68 69 63 | 68 20 61 72 65 20 6e 6f |n}s whic|h are no|
|00003c90| 74 20 64 65 63 6c 61 72 | 65 64 20 77 69 6c 6c 20 |t declar|ed will |
|00003ca0| 62 65 20 70 72 6f 63 65 | 73 73 65 64 0a 25 20 20 |be proce|ssed.% |
|00003cb0| 20 20 69 6e 20 74 68 65 | 20 6f 72 64 65 72 20 64 | in the| order d|
|00003cc0| 65 66 69 6e 65 64 20 62 | 79 20 74 68 65 20 6f 70 |efined b|y the op|
|00003cd0| 74 69 6f 6e 61 6c 20 61 | 72 67 75 6d 65 6e 74 20 |tional a|rgument |
|00003ce0| 6f 66 20 7c 5c 64 6f 63 | 75 6d 65 6e 74 63 6c 61 |of |\doc|umentcla|
|00003cf0| 73 73 7c 0a 25 20 20 20 | 20 6f 72 20 7c 5c 75 73 |ss|.% | or |\us|
|00003d00| 65 70 61 63 6b 61 67 65 | 7c 2e 0a 25 20 20 20 20 |epackage||..% |
|00003d10| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00003d20| 7d 0a 5c 6c 65 74 5c 40 | 64 65 63 6c 61 72 65 64 |}.\let\@|declared|
|00003d30| 6f 70 74 69 6f 6e 73 5c | 40 65 6d 70 74 79 0a 25 |options\|@empty.%|
|00003d40| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00003d50| 64 65 7d 0a 25 20 20 5c | 65 6e 64 7b 6d 61 63 72 |de}.% \|end{macr|
|00003d60| 6f 7d 0a 25 0a 25 20 20 | 5c 62 65 67 69 6e 7b 6d |o}.%.% |\begin{m|
|00003d70| 61 63 72 6f 7d 7b 5c 40 | 63 6c 61 73 73 6f 70 74 |acro}{\@|classopt|
|00003d80| 69 6f 6e 73 6c 69 73 74 | 7d 0a 25 20 20 20 20 4c |ionslist|}.% L|
|00003d90| 69 73 74 20 6f 66 20 6f | 70 74 69 6f 6e 73 20 6f |ist of o|ptions o|
|00003da0| 66 20 74 68 65 20 6d 61 | 69 6e 20 63 6c 61 73 73 |f the ma|in class|
|00003db0| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00003dc0| 63 72 6f 63 6f 64 65 7d | 0a 5c 6c 65 74 5c 40 63 |crocode}|.\let\@c|
|00003dd0| 6c 61 73 73 6f 70 74 69 | 6f 6e 73 6c 69 73 74 5c |lassopti|onslist\|
|00003de0| 72 65 6c 61 78 0a 25 20 | 20 20 20 5c 65 6e 64 7b |relax.% | \end{|
|00003df0| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 20 20 5c 65 |macrocod|e}.% \e|
|00003e00| 6e 64 7b 6d 61 63 72 6f | 7d 0a 25 0a 25 20 20 5c |nd{macro|}.%.% \|
|00003e10| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 7d 7b 5c 40 75 |begin{ma|cro}{\@u|
|00003e20| 6e 75 73 65 64 6f 70 74 | 69 6f 6e 6c 69 73 74 7d |nusedopt|ionlist}|
|00003e30| 0a 25 20 20 20 20 4c 69 | 73 74 20 6f 66 20 6f 70 |.% Li|st of op|
|00003e40| 74 69 6f 6e 73 20 6f 66 | 20 74 68 65 20 6d 61 69 |tions of| the mai|
|00003e50| 6e 20 63 6c 61 73 73 20 | 74 68 61 74 20 68 61 76 |n class |that hav|
|00003e60| 65 6e 27 74 20 62 65 65 | 6e 20 64 65 63 6c 61 72 |en't bee|n declar|
|00003e70| 65 64 20 6f 72 0a 25 20 | 20 20 20 6c 6f 61 64 65 |ed or.% | loade|
|00003e80| 64 20 61 73 20 63 6c 61 | 73 73 20 6f 70 74 69 6f |d as cla|ss optio|
|00003e90| 6e 20 66 69 6c 65 73 2e | 0a 25 20 20 20 20 5c 62 |n files.|.% \b|
|00003ea0| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00003eb0| 5c 6c 65 74 5c 40 75 6e | 75 73 65 64 6f 70 74 69 |\let\@un|usedopti|
|00003ec0| 6f 6e 6c 69 73 74 5c 40 | 65 6d 70 74 79 0a 25 20 |onlist\@|empty.% |
|00003ed0| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|00003ee0| 65 7d 0a 25 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |e}.% \e|nd{macro|
|00003ef0| 7d 0a 25 0a 25 20 20 5c | 62 65 67 69 6e 7b 6d 61 |}.%.% \|begin{ma|
|00003f00| 63 72 6f 7d 7b 5c 43 75 | 72 72 65 6e 74 4f 70 74 |cro}{\Cu|rrentOpt|
|00003f10| 69 6f 6e 7d 0a 25 20 20 | 20 20 4e 61 6d 65 20 6f |ion}.% | Name o|
|00003f20| 66 20 63 75 72 72 65 6e | 74 20 70 61 63 6b 61 67 |f curren|t packag|
|00003f30| 65 20 6f 72 20 6f 70 74 | 69 6f 6e 2e 0a 25 20 5c |e or opt|ion..% \|
|00003f40| 63 68 61 6e 67 65 73 7b | 76 30 2e 32 63 7d 7b 31 |changes{|v0.2c}{1|
|00003f50| 39 39 33 2f 31 31 2f 31 | 37 7d 0a 25 20 20 20 20 |993/11/1|7}.% |
|00003f60| 20 20 20 20 20 7b 4e 61 | 6d 65 20 63 68 61 6e 67 | {Na|me chang|
|00003f70| 65 64 20 66 72 6f 6d 20 | 5c 63 6d 64 5c 40 63 75 |ed from |\cmd\@cu|
|00003f80| 72 72 6f 70 74 69 6f 6e | 7d 0a 25 20 20 20 20 5c |rroption|}.% \|
|00003f90| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00003fa0| 0a 5c 6c 65 74 5c 43 75 | 72 72 65 6e 74 4f 70 74 |.\let\Cu|rrentOpt|
|00003fb0| 69 6f 6e 5c 40 65 6d 70 | 74 79 0a 25 20 20 20 20 |ion\@emp|ty.% |
|00003fc0| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|00003fd0| 25 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 7d 0a 25 |% \end{|macro}.%|
|00003fe0| 0a 25 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |.% \beg|in{macro|
|00003ff0| 7d 7b 5c 40 63 75 72 72 | 6e 61 6d 65 7d 0a 25 20 |}{\@curr|name}.% |
|00004000| 20 20 20 4e 61 6d 65 20 | 6f 66 20 63 75 72 72 65 | Name |of curre|
|00004010| 6e 74 20 70 61 63 6b 61 | 67 65 20 6f 72 20 6f 70 |nt packa|ge or op|
|00004020| 74 69 6f 6e 2e 0a 25 20 | 20 20 20 5c 62 65 67 69 |tion..% | \begi|
|00004030| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 6c 65 |n{macroc|ode}.\le|
|00004040| 74 5c 40 63 75 72 72 6e | 61 6d 65 5c 40 65 6d 70 |t\@currn|ame\@emp|
|00004050| 74 79 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |ty.% |\end{mac|
|00004060| 72 6f 63 6f 64 65 7d 0a | 25 20 20 5c 65 6e 64 7b |rocode}.|% \end{|
|00004070| 6d 61 63 72 6f 7d 0a 25 | 0a 25 20 5c 62 65 67 69 |macro}.%|.% \begi|
|00004080| 6e 7b 6d 61 63 72 6f 7d | 7b 5c 40 63 75 72 72 65 |n{macro}|{\@curre|
|00004090| 78 74 7d 0a 25 20 20 20 | 20 54 68 65 20 63 75 72 |xt}.% | The cur|
|000040a0| 72 65 6e 74 20 66 69 6c | 65 20 65 78 74 65 6e 73 |rent fil|e extens|
|000040b0| 69 6f 6e 2e 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |ion..% \|changes{|
|000040c0| 76 30 2e 32 61 7d 7b 31 | 39 39 33 2f 31 31 2f 31 |v0.2a}{1|993/11/1|
|000040d0| 34 7d 7b 4e 61 6d 65 20 | 63 68 61 6e 67 65 64 20 |4}{Name |changed |
|000040e0| 66 72 6f 6d 20 5c 63 6d | 64 7b 5c 40 63 75 72 72 |from \cm|d{\@curr|
|000040f0| 65 78 74 65 6e 73 69 6f | 6e 7d 7d 0a 25 20 20 20 |extensio|n}}.% |
|00004100| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|00004110| 65 7d 0a 5c 67 6c 6f 62 | 61 6c 5c 6c 65 74 5c 40 |e}.\glob|al\let\@|
|00004120| 63 75 72 72 65 78 74 3d | 5c 40 65 6d 70 74 79 0a |currext=|\@empty.|
|00004130| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00004140| 6f 64 65 7d 0a 25 20 5c | 65 6e 64 7b 6d 61 63 72 |ode}.% \|end{macr|
|00004150| 6f 7d 0a 25 0a 25 20 5c | 62 65 67 69 6e 7b 6d 61 |o}.%.% \|begin{ma|
|00004160| 63 72 6f 7d 7b 5c 40 63 | 6c 73 65 78 74 65 6e 73 |cro}{\@c|lsextens|
|00004170| 69 6f 6e 7d 0a 25 20 5c | 62 65 67 69 6e 7b 6d 61 |ion}.% \|begin{ma|
|00004180| 63 72 6f 7d 7b 5c 40 70 | 6b 67 65 78 74 65 6e 73 |cro}{\@p|kgextens|
|00004190| 69 6f 6e 7d 0a 25 20 20 | 20 20 54 68 65 20 74 77 |ion}.% | The tw|
|000041a0| 6f 20 70 6f 73 73 69 62 | 6c 65 20 76 61 6c 75 65 |o possib|le value|
|000041b0| 73 20 6f 66 20 7c 5c 40 | 63 75 72 72 65 78 74 7c |s of |\@|currext||
|000041c0| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|000041d0| 63 72 6f 63 6f 64 65 7d | 0a 5c 64 65 66 5c 40 63 |crocode}|.\def\@c|
|000041e0| 6c 73 65 78 74 65 6e 73 | 69 6f 6e 7b 63 6c 73 7d |lsextens|ion{cls}|
|000041f0| 0a 5c 64 65 66 5c 40 70 | 6b 67 65 78 74 65 6e 73 |.\def\@p|kgextens|
|00004200| 69 6f 6e 7b 73 74 79 7d | 0a 5c 40 6f 6e 6c 79 70 |ion{sty}|.\@onlyp|
|00004210| 72 65 61 6d 62 6c 65 5c | 40 63 6c 73 65 78 74 65 |reamble\|@clsexte|
|00004220| 6e 73 69 6f 6e 0a 5c 40 | 6f 6e 6c 79 70 72 65 61 |nsion.\@|onlyprea|
|00004230| 6d 62 6c 65 5c 40 70 6b | 67 65 78 74 65 6e 73 69 |mble\@pk|gextensi|
|00004240| 6f 6e 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |on.% |\end{mac|
|00004250| 72 6f 63 6f 64 65 7d 0a | 25 20 5c 65 6e 64 7b 6d |rocode}.|% \end{m|
|00004260| 61 63 72 6f 7d 0a 25 20 | 5c 65 6e 64 7b 6d 61 63 |acro}.% |\end{mac|
|00004270| 72 6f 7d 0a 25 0a 25 20 | 5c 62 65 67 69 6e 7b 6d |ro}.%.% |\begin{m|
|00004280| 61 63 72 6f 7d 7b 5c 40 | 70 75 73 68 66 69 6c 65 |acro}{\@|pushfile|
|00004290| 6e 61 6d 65 7d 0a 25 20 | 5c 62 65 67 69 6e 7b 6d |name}.% |\begin{m|
|000042a0| 61 63 72 6f 7d 7b 5c 40 | 70 6f 70 66 69 6c 65 6e |acro}{\@|popfilen|
|000042b0| 61 6d 65 7d 0a 25 20 5c | 62 65 67 69 6e 7b 6d 61 |ame}.% \|begin{ma|
|000042c0| 63 72 6f 7d 7b 5c 40 63 | 75 72 72 6e 61 6d 65 73 |cro}{\@c|urrnames|
|000042d0| 74 61 63 6b 7d 0a 25 20 | 43 6f 6d 6d 61 6e 64 73 |tack}.% |Commands|
|000042e0| 20 74 6f 20 70 75 73 68 | 20 61 6e 64 20 70 6f 70 | to push| and pop|
|000042f0| 20 74 68 65 20 66 69 6c | 65 20 6e 61 6d 65 20 61 | the fil|e name a|
|00004300| 6e 64 20 65 78 74 65 6e | 73 69 6f 6e 2e 20 5c 5c |nd exten|sion. \\|
|00004310| 0a 25 20 7c 23 31 7c 20 | 63 75 72 72 65 6e 74 20 |.% |#1| |current |
|00004320| 6e 61 6d 65 2e 20 20 20 | 20 20 20 5c 5c 0a 25 20 |name. | \\.% |
|00004330| 7c 23 32 7c 20 63 75 72 | 72 65 6e 74 20 65 78 74 ||#2| cur|rent ext|
|00004340| 65 6e 73 69 6f 6e 2e 20 | 5c 5c 0a 25 20 7c 23 33 |ension. |\\.% |#3|
|00004350| 7c 20 63 75 72 72 65 6e | 74 20 63 61 74 63 6f 64 || curren|t catcod|
|00004360| 65 20 6f 66 20 7c 40 7c | 2e 20 5c 5c 0a 25 20 7c |e of |@||. \\.% ||
|00004370| 23 34 7c 20 52 65 73 74 | 20 6f 66 20 74 68 65 20 |#4| Rest| of the |
|00004380| 73 74 61 63 6b 2e 0a 25 | 20 20 20 20 5c 62 65 67 |stack..%| \beg|
|00004390| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 64 |in{macro|code}.\d|
|000043a0| 65 66 5c 40 70 75 73 68 | 66 69 6c 65 6e 61 6d 65 |ef\@push|filename|
|000043b0| 7b 25 0a 20 20 5c 78 64 | 65 66 5c 40 63 75 72 72 |{%. \xd|ef\@curr|
|000043c0| 6e 61 6d 65 73 74 61 63 | 6b 7b 25 0a 20 20 20 20 |namestac|k{%. |
|000043d0| 7b 5c 40 63 75 72 72 6e | 61 6d 65 7d 25 0a 20 20 |{\@currn|ame}%. |
|000043e0| 20 20 7b 5c 40 63 75 72 | 72 65 78 74 7d 25 0a 20 | {\@cur|rext}%. |
|000043f0| 20 20 20 7b 5c 74 68 65 | 5c 63 61 74 63 6f 64 65 | {\the|\catcode|
|00004400| 60 5c 40 7d 25 0a 20 20 | 20 20 5c 40 63 75 72 72 |`\@}%. | \@curr|
|00004410| 6e 61 6d 65 73 74 61 63 | 6b 7d 7d 0a 5c 40 6f 6e |namestac|k}}.\@on|
|00004420| 6c 79 70 72 65 61 6d 62 | 6c 65 5c 40 70 75 73 68 |lypreamb|le\@push|
|00004430| 66 69 6c 65 6e 61 6d 65 | 0a 25 20 20 20 20 5c 65 |filename|.% \e|
|00004440| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 0a |nd{macro|code}.%.|
|00004450| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|00004460| 6f 63 6f 64 65 7d 0a 5c | 64 65 66 5c 40 70 6f 70 |ocode}.\|def\@pop|
|00004470| 66 69 6c 65 6e 61 6d 65 | 7b 5c 65 78 70 61 6e 64 |filename|{\expand|
|00004480| 61 66 74 65 72 5c 40 70 | 40 70 66 69 6c 65 6e 61 |after\@p|@pfilena|
|00004490| 6d 65 5c 40 63 75 72 72 | 6e 61 6d 65 73 74 61 63 |me\@curr|namestac|
|000044a0| 6b 5c 40 6e 69 6c 7d 0a | 5c 40 6f 6e 6c 79 70 72 |k\@nil}.|\@onlypr|
|000044b0| 65 61 6d 62 6c 65 5c 40 | 70 6f 70 66 69 6c 65 6e |eamble\@|popfilen|
|000044c0| 61 6d 65 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |ame.% | \end{ma|
|000044d0| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 20 20 20 |crocode}|.%.% |
|000044e0| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|000044f0| 7d 0a 5c 64 65 66 5c 40 | 70 40 70 66 69 6c 65 6e |}.\def\@|p@pfilen|
|00004500| 61 6d 65 23 31 23 32 23 | 33 23 34 5c 40 6e 69 6c |ame#1#2#|3#4\@nil|
|00004510| 7b 25 0a 20 20 5c 67 64 | 65 66 5c 40 63 75 72 72 |{%. \gd|ef\@curr|
|00004520| 6e 61 6d 65 7b 23 31 7d | 25 0a 20 20 5c 67 64 65 |name{#1}|%. \gde|
|00004530| 66 5c 40 63 75 72 72 65 | 78 74 7b 23 32 7d 25 0a |f\@curre|xt{#2}%.|
|00004540| 20 20 5c 63 61 74 63 6f | 64 65 60 5c 40 23 33 5c | \catco|de`\@#3\|
|00004550| 72 65 6c 61 78 0a 20 20 | 5c 67 64 65 66 5c 40 63 |relax. |\gdef\@c|
|00004560| 75 72 72 6e 61 6d 65 73 | 74 61 63 6b 7b 23 34 7d |urrnames|tack{#4}|
|00004570| 7d 0a 5c 40 6f 6e 6c 79 | 70 72 65 61 6d 62 6c 65 |}.\@only|preamble|
|00004580| 5c 40 70 40 70 66 69 6c | 65 6e 61 6d 65 0a 25 20 |\@p@pfil|ename.% |
|00004590| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|000045a0| 65 7d 0a 25 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |e}.%.% | \begin|
|000045b0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 67 64 65 |{macroco|de}.\gde|
|000045c0| 66 5c 40 63 75 72 72 6e | 61 6d 65 73 74 61 63 6b |f\@currn|amestack|
|000045d0| 7b 7d 0a 5c 40 6f 6e 6c | 79 70 72 65 61 6d 62 6c |{}.\@onl|ypreambl|
|000045e0| 65 5c 40 63 75 72 72 6e | 61 6d 65 73 74 61 63 6b |e\@currn|amestack|
|000045f0| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|00004600| 63 6f 64 65 7d 0a 25 20 | 5c 65 6e 64 7b 6d 61 63 |code}.% |\end{mac|
|00004610| 72 6f 7d 0a 25 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |ro}.% \e|nd{macro|
|00004620| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|00004630| 25 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |%.% \beg|in{macro|
|00004640| 7d 7b 5c 40 70 74 69 6f | 6e 6c 69 73 74 7d 0a 25 |}{\@ptio|nlist}.%|
|00004650| 20 20 20 20 52 65 74 75 | 72 6e 73 20 74 68 65 20 | Retu|rns the |
|00004660| 6f 70 74 69 6f 6e 20 6c | 69 73 74 20 6f 66 20 74 |option l|ist of t|
|00004670| 68 65 20 66 69 6c 65 2e | 0a 25 20 20 20 20 5c 62 |he file.|.% \b|
|00004680| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00004690| 5c 64 65 66 5c 40 70 74 | 69 6f 6e 6c 69 73 74 23 |\def\@pt|ionlist#|
|000046a0| 31 7b 25 0a 20 20 5c 40 | 69 66 75 6e 64 65 66 69 |1{%. \@|ifundefi|
|000046b0| 6e 65 64 7b 6f 70 74 40 | 23 31 7d 5c 40 65 6d 70 |ned{opt@|#1}\@emp|
|000046c0| 74 79 7b 5c 63 73 6e 61 | 6d 65 20 6f 70 74 40 23 |ty{\csna|me opt@#|
|000046d0| 31 5c 65 6e 64 63 73 6e | 61 6d 65 7d 7d 0a 5c 40 |1\endcsn|ame}}.\@|
|000046e0| 6f 6e 6c 79 70 72 65 61 | 6d 62 6c 65 5c 40 70 74 |onlyprea|mble\@pt|
|000046f0| 69 6f 6e 6c 69 73 74 0a | 25 20 20 20 20 5c 65 6e |ionlist.|% \en|
|00004700| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 20 5c |d{macroc|ode}.% \|
|00004710| 65 6e 64 7b 6d 61 63 72 | 6f 7d 0a 25 0a 25 20 5c |end{macr|o}.%.% \|
|00004720| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 7d 7b 5c 40 69 |begin{ma|cro}{\@i|
|00004730| 66 70 61 63 6b 61 67 65 | 6c 6f 61 64 65 64 7d 0a |fpackage|loaded}.|
|00004740| 25 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b |% \begin|{macro}{|
|00004750| 5c 40 69 66 63 6c 61 73 | 73 6c 6f 61 64 65 64 7d |\@ifclas|sloaded}|
|00004760| 0a 25 20 20 20 7c 5c 40 | 69 66 70 61 63 6b 61 67 |.% |\@|ifpackag|
|00004770| 65 6c 6f 61 64 65 64 7b | 7c 5c 6d 65 74 61 7b 6e |eloaded{||\meta{n|
|00004780| 61 6d 65 7d 7c 7d 7c 0a | 25 20 20 43 68 65 63 6b |ame}|}|.|% Check|
|00004790| 73 20 74 6f 20 73 65 65 | 20 77 68 65 74 68 65 72 |s to see| whether|
|000047a0| 20 61 20 66 69 6c 65 20 | 68 61 73 20 62 65 65 6e | a file |has been|
|000047b0| 20 6c 6f 61 64 65 64 2e | 0a 25 20 5c 63 68 61 6e | loaded.|.% \chan|
|000047c0| 67 65 73 7b 76 30 2e 32 | 74 7d 7b 31 39 39 34 2f |ges{v0.2|t}{1994/|
|000047d0| 30 31 2f 31 38 7d 0a 25 | 20 20 20 20 20 20 20 20 |01/18}.%| |
|000047e0| 20 7b 46 69 78 20 74 79 | 70 6f 20 5c 63 6d 64 7b | {Fix ty|po \cmd{|
|000047f0| 5c 40 70 6b 67 65 74 65 | 6e 73 69 6f 6e 7d 7d 0a |\@pkgete|nsion}}.|
|00004800| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|00004810| 6f 63 6f 64 65 7d 0a 5c | 64 65 66 5c 40 69 66 70 |ocode}.\|def\@ifp|
|00004820| 61 63 6b 61 67 65 6c 6f | 61 64 65 64 7b 5c 40 69 |ackagelo|aded{\@i|
|00004830| 66 6c 40 61 64 65 64 5c | 40 70 6b 67 65 78 74 65 |fl@aded\|@pkgexte|
|00004840| 6e 73 69 6f 6e 7d 0a 5c | 64 65 66 5c 40 69 66 63 |nsion}.\|def\@ifc|
|00004850| 6c 61 73 73 6c 6f 61 64 | 65 64 7b 5c 40 69 66 6c |lassload|ed{\@ifl|
|00004860| 40 61 64 65 64 5c 40 63 | 6c 73 65 78 74 65 6e 73 |@aded\@c|lsextens|
|00004870| 69 6f 6e 7d 0a 5c 40 6f | 6e 6c 79 70 72 65 61 6d |ion}.\@o|nlypream|
|00004880| 62 6c 65 5c 40 69 66 70 | 61 63 6b 61 67 65 6c 6f |ble\@ifp|ackagelo|
|00004890| 61 64 65 64 0a 5c 40 6f | 6e 6c 79 70 72 65 61 6d |aded.\@o|nlypream|
|000048a0| 62 6c 65 5c 40 69 66 63 | 6c 61 73 73 6c 6f 61 64 |ble\@ifc|lassload|
|000048b0| 65 64 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |ed.% |\end{mac|
|000048c0| 72 6f 63 6f 64 65 7d 0a | 25 0a 25 20 20 20 20 5c |rocode}.|%.% \|
|000048d0| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|000048e0| 0a 5c 64 65 66 5c 40 69 | 66 6c 40 61 64 65 64 23 |.\def\@i|fl@aded#|
|000048f0| 31 23 32 7b 25 0a 20 20 | 5c 65 78 70 61 6e 64 61 |1#2{%. |\expanda|
|00004900| 66 74 65 72 5c 69 66 78 | 5c 63 73 6e 61 6d 65 20 |fter\ifx|\csname |
|00004910| 76 65 72 40 23 32 2e 23 | 31 5c 65 6e 64 63 73 6e |ver@#2.#|1\endcsn|
|00004920| 61 6d 65 5c 72 65 6c 61 | 78 0a 20 20 20 20 5c 65 |ame\rela|x. \e|
|00004930| 78 70 61 6e 64 61 66 74 | 65 72 5c 40 73 65 63 6f |xpandaft|er\@seco|
|00004940| 6e 64 6f 66 74 77 6f 0a | 20 20 5c 65 6c 73 65 0a |ndoftwo.| \else.|
|00004950| 20 20 20 20 5c 65 78 70 | 61 6e 64 61 66 74 65 72 | \exp|andafter|
|00004960| 5c 40 66 69 72 73 74 6f | 66 74 77 6f 0a 20 20 5c |\@firsto|ftwo. \|
|00004970| 66 69 7d 0a 5c 40 6f 6e | 6c 79 70 72 65 61 6d 62 |fi}.\@on|lypreamb|
|00004980| 6c 65 5c 40 69 66 6c 40 | 61 64 65 64 0a 25 20 20 |le\@ifl@|aded.% |
|00004990| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|000049a0| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|000049b0| 25 20 5c 65 6e 64 7b 6d | 61 63 72 6f 7d 0a 25 0a |% \end{m|acro}.%.|
|000049c0| 25 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b |% \begin|{macro}{|
|000049d0| 5c 40 69 66 70 61 63 6b | 61 67 65 6c 61 74 65 72 |\@ifpack|agelater|
|000049e0| 7d 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |}.% \beg|in{macro|
|000049f0| 7d 7b 5c 40 69 66 63 6c | 61 73 73 6c 61 74 65 72 |}{\@ifcl|asslater|
|00004a00| 7d 0a 25 20 7c 5c 40 69 | 66 70 61 63 6b 61 67 65 |}.% |\@i|fpackage|
|00004a10| 6c 61 74 65 72 7b 7c 5c | 6d 65 74 61 7b 6e 61 6d |later{|\|meta{nam|
|00004a20| 65 7d 7c 7d 7b 59 59 59 | 59 2f 4d 4d 2f 44 44 7d |e}|}{YYY|Y/MM/DD}|
|00004a30| 7c 0a 25 20 43 68 65 63 | 6b 73 20 74 68 61 74 20 ||.% Chec|ks that |
|00004a40| 74 68 65 20 70 61 63 6b | 61 67 65 20 6c 6f 61 64 |the pack|age load|
|00004a50| 65 64 20 69 73 20 6d 6f | 72 65 20 72 65 63 65 6e |ed is mo|re recen|
|00004a60| 74 20 74 68 61 6e 20 74 | 68 65 20 67 69 76 65 6e |t than t|he given|
|00004a70| 20 64 61 74 65 2e 0a 25 | 20 20 20 20 5c 62 65 67 | date..%| \beg|
|00004a80| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 64 |in{macro|code}.\d|
|00004a90| 65 66 5c 40 69 66 70 61 | 63 6b 61 67 65 6c 61 74 |ef\@ifpa|ckagelat|
|00004aa0| 65 72 7b 5c 40 69 66 6c | 40 74 65 72 5c 40 70 6b |er{\@ifl|@ter\@pk|
|00004ab0| 67 65 78 74 65 6e 73 69 | 6f 6e 7d 0a 5c 64 65 66 |gextensi|on}.\def|
|00004ac0| 5c 40 69 66 63 6c 61 73 | 73 6c 61 74 65 72 7b 5c |\@ifclas|slater{\|
|00004ad0| 40 69 66 6c 40 74 65 72 | 5c 40 63 6c 73 65 78 74 |@ifl@ter|\@clsext|
|00004ae0| 65 6e 73 69 6f 6e 7d 0a | 5c 40 6f 6e 6c 79 70 72 |ension}.|\@onlypr|
|00004af0| 65 61 6d 62 6c 65 5c 40 | 69 66 70 61 63 6b 61 67 |eamble\@|ifpackag|
|00004b00| 65 6c 61 74 65 72 0a 5c | 40 6f 6e 6c 79 70 72 65 |elater.\|@onlypre|
|00004b10| 61 6d 62 6c 65 5c 40 69 | 66 63 6c 61 73 73 6c 61 |amble\@i|fclassla|
|00004b20| 74 65 72 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |ter.% | \end{ma|
|00004b30| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 20 20 20 |crocode}|.%.% |
|00004b40| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00004b50| 7d 0a 5c 64 65 66 5c 40 | 69 66 6c 40 74 65 72 23 |}.\def\@|ifl@ter#|
|00004b60| 31 23 32 7b 25 0a 20 20 | 5c 65 78 70 61 6e 64 61 |1#2{%. |\expanda|
|00004b70| 66 74 65 72 5c 40 69 66 | 6c 40 74 40 72 0a 20 20 |fter\@if|l@t@r. |
|00004b80| 20 20 5c 63 73 6e 61 6d | 65 20 76 65 72 40 23 32 | \csnam|e ver@#2|
|00004b90| 2e 23 31 5c 65 6e 64 63 | 73 6e 61 6d 65 7d 0a 5c |.#1\endc|sname}.\|
|00004ba0| 40 6f 6e 6c 79 70 72 65 | 61 6d 62 6c 65 5c 40 69 |@onlypre|amble\@i|
|00004bb0| 66 6c 40 74 65 72 0a 25 | 20 20 20 20 5c 65 6e 64 |fl@ter.%| \end|
|00004bc0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 0a 25 20 |{macroco|de}.%.% |
|00004bd0| 54 68 69 73 20 69 6e 74 | 65 72 6e 61 6c 20 6d 61 |This int|ernal ma|
|00004be0| 63 72 6f 20 69 73 20 61 | 6c 73 6f 20 75 73 65 64 |cro is a|lso used|
|00004bf0| 20 69 6e 20 7c 5c 4e 65 | 65 64 73 54 65 58 46 6f | in |\Ne|edsTeXFo|
|00004c00| 72 6d 61 74 7c 2e 0a 25 | 20 5c 63 68 61 6e 67 65 |rmat|..%| \change|
|00004c10| 73 7b 76 30 2e 32 66 7d | 7b 31 39 39 33 2f 31 31 |s{v0.2f}|{1993/11|
|00004c20| 2f 32 32 7d 0a 25 20 20 | 20 20 20 20 20 20 20 7b |/22}.% | {|
|00004c30| 41 64 64 65 64 20 2f 2f | 30 30 20 73 6f 20 70 61 |Added //|00 so pa|
|00004c40| 72 73 69 6e 67 20 6e 65 | 76 65 72 20 70 72 6f 64 |rsing ne|ver prod|
|00004c50| 75 63 65 73 20 61 20 72 | 75 6e 61 77 61 79 20 61 |uces a r|unaway a|
|00004c60| 72 67 75 6d 65 6e 74 2e | 7d 0a 25 20 20 20 20 5c |rgument.|}.% \|
|00004c70| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00004c80| 0a 5c 64 65 66 5c 40 69 | 66 6c 40 74 40 72 23 31 |.\def\@i|fl@t@r#1|
|00004c90| 23 32 7b 25 0a 20 20 5c | 69 66 6e 75 6d 5c 65 78 |#2{%. \|ifnum\ex|
|00004ca0| 70 61 6e 64 61 66 74 65 | 72 5c 40 70 61 72 73 65 |pandafte|r\@parse|
|00004cb0| 40 76 65 72 73 69 6f 6e | 23 31 2f 2f 30 30 5c 40 |@version|#1//00\@|
|00004cc0| 6e 69 6c 3c 25 0a 20 20 | 20 20 20 20 20 20 5c 65 |nil<%. | \e|
|00004cd0| 78 70 61 6e 64 61 66 74 | 65 72 5c 40 70 61 72 73 |xpandaft|er\@pars|
|00004ce0| 65 40 76 65 72 73 69 6f | 6e 23 32 2f 2f 30 30 5c |e@versio|n#2//00\|
|00004cf0| 40 6e 69 6c 0a 20 20 20 | 20 5c 65 78 70 61 6e 64 |@nil. | \expand|
|00004d00| 61 66 74 65 72 5c 40 73 | 65 63 6f 6e 64 6f 66 74 |after\@s|econdoft|
|00004d10| 77 6f 0a 20 20 5c 65 6c | 73 65 0a 20 20 20 20 5c |wo. \el|se. \|
|00004d20| 65 78 70 61 6e 64 61 66 | 74 65 72 5c 40 66 69 72 |expandaf|ter\@fir|
|00004d30| 73 74 6f 66 74 77 6f 0a | 20 20 5c 66 69 7d 0a 5c |stoftwo.| \fi}.\|
|00004d40| 40 6f 6e 6c 79 70 72 65 | 61 6d 62 6c 65 5c 40 69 |@onlypre|amble\@i|
|00004d50| 66 6c 40 74 40 72 0a 25 | 20 20 20 20 5c 65 6e 64 |fl@t@r.%| \end|
|00004d60| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 0a 25 20 |{macroco|de}.%.% |
|00004d70| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00004d80| 6f 64 65 7d 0a 5c 64 65 | 66 5c 40 70 61 72 73 65 |ode}.\de|f\@parse|
|00004d90| 40 76 65 72 73 69 6f 6e | 23 31 2f 23 32 2f 23 33 |@version|#1/#2/#3|
|00004da0| 23 34 23 35 5c 40 6e 69 | 6c 7b 23 31 23 32 23 33 |#4#5\@ni|l{#1#2#3|
|00004db0| 23 34 20 7d 0a 5c 40 6f | 6e 6c 79 70 72 65 61 6d |#4 }.\@o|nlypream|
|00004dc0| 62 6c 65 5c 40 70 61 72 | 73 65 40 76 65 72 73 69 |ble\@par|se@versi|
|00004dd0| 6f 6e 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |on.% |\end{mac|
|00004de0| 72 6f 63 6f 64 65 7d 0a | 25 20 5c 65 6e 64 7b 6d |rocode}.|% \end{m|
|00004df0| 61 63 72 6f 7d 0a 25 20 | 5c 65 6e 64 7b 6d 61 63 |acro}.% |\end{mac|
|00004e00| 72 6f 7d 0a 25 0a 25 20 | 5c 62 65 67 69 6e 7b 6d |ro}.%.% |\begin{m|
|00004e10| 61 63 72 6f 7d 7b 5c 40 | 69 66 70 61 63 6b 61 67 |acro}{\@|ifpackag|
|00004e20| 65 77 69 74 68 7d 0a 25 | 20 5c 62 65 67 69 6e 7b |ewith}.%| \begin{|
|00004e30| 6d 61 63 72 6f 7d 7b 5c | 40 69 66 63 6c 61 73 73 |macro}{\|@ifclass|
|00004e40| 77 69 74 68 7d 0a 25 20 | 7c 5c 40 69 66 70 61 63 |with}.% ||\@ifpac|
|00004e50| 6b 61 67 65 77 69 74 68 | 7b 7c 5c 6d 65 74 61 7b |kagewith|{|\meta{|
|00004e60| 6e 61 6d 65 7d 7c 7d 7b | 7c 5c 6d 65 74 61 7b 6f |name}|}{||\meta{o|
|00004e70| 70 74 69 6f 6e 2d 6c 69 | 73 74 7d 7c 7d 7c 0a 25 |ption-li|st}|}|.%|
|00004e80| 20 43 68 65 63 6b 73 20 | 74 68 61 74 20 5c 6d 65 | Checks |that \me|
|00004e90| 74 61 7b 6f 70 74 69 6f | 6e 2d 6c 69 73 74 7d 20 |ta{optio|n-list} |
|00004ea0| 69 73 20 61 20 73 75 62 | 73 65 74 20 6f 66 20 74 |is a sub|set of t|
|00004eb0| 68 65 20 6f 70 74 69 6f | 6e 73 0a 25 20 5c 74 65 |he optio|ns.% \te|
|00004ec0| 78 74 62 66 7b 77 69 74 | 68 7d 20 77 68 69 63 68 |xtbf{wit|h} which|
|00004ed0| 20 5c 6d 65 74 61 7b 6e | 61 6d 65 7d 20 77 61 73 | \meta{n|ame} was|
|00004ee0| 20 6c 6f 61 64 65 64 2e | 0a 25 20 20 20 20 5c 62 | loaded.|.% \b|
|00004ef0| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00004f00| 5c 64 65 66 5c 40 69 66 | 70 61 63 6b 61 67 65 77 |\def\@if|packagew|
|00004f10| 69 74 68 7b 5c 40 69 66 | 40 70 74 69 6f 6e 73 5c |ith{\@if|@ptions\|
|00004f20| 40 70 6b 67 65 78 74 65 | 6e 73 69 6f 6e 7d 0a 5c |@pkgexte|nsion}.\|
|00004f30| 64 65 66 5c 40 69 66 63 | 6c 61 73 73 77 69 74 68 |def\@ifc|lasswith|
|00004f40| 7b 5c 40 69 66 40 70 74 | 69 6f 6e 73 5c 40 63 6c |{\@if@pt|ions\@cl|
|00004f50| 73 65 78 74 65 6e 73 69 | 6f 6e 7d 0a 5c 40 6f 6e |sextensi|on}.\@on|
|00004f60| 6c 79 70 72 65 61 6d 62 | 6c 65 5c 40 69 66 70 61 |lypreamb|le\@ifpa|
|00004f70| 63 6b 61 67 65 77 69 74 | 68 0a 5c 40 6f 6e 6c 79 |ckagewit|h.\@only|
|00004f80| 70 72 65 61 6d 62 6c 65 | 5c 40 69 66 63 6c 61 73 |preamble|\@ifclas|
|00004f90| 73 77 69 74 68 0a 25 20 | 20 20 20 5c 65 6e 64 7b |swith.% | \end{|
|00004fa0| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 0a 25 20 20 |macrocod|e}.%.% |
|00004fb0| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|00004fc0| 64 65 7d 0a 5c 64 65 66 | 5c 40 69 66 40 70 74 69 |de}.\def|\@if@pti|
|00004fd0| 6f 6e 73 23 31 23 32 7b | 25 0a 20 20 5c 40 65 78 |ons#1#2{|%. \@ex|
|00004fe0| 70 61 6e 64 74 77 6f 61 | 72 67 73 5c 40 69 66 40 |pandtwoa|rgs\@if@|
|00004ff0| 70 74 69 40 6e 73 7b 5c | 40 70 74 69 6f 6e 6c 69 |pti@ns{\|@ptionli|
|00005000| 73 74 7b 23 32 2e 23 31 | 7d 7d 7d 0a 5c 40 6f 6e |st{#2.#1|}}}.\@on|
|00005010| 6c 79 70 72 65 61 6d 62 | 6c 65 5c 40 69 66 40 70 |lypreamb|le\@if@p|
|00005020| 74 69 6f 6e 73 0a 25 20 | 20 20 20 5c 65 6e 64 7b |tions.% | \end{|
|00005030| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 0a 25 20 50 |macrocod|e}.%.% P|
|00005040| 72 6f 62 61 62 6c 79 20 | 73 68 6f 75 6c 64 6e 74 |robably |shouldnt|
|00005050| 20 75 73 65 20 7c 5c 43 | 75 72 72 65 6e 74 4f 70 | use |\C|urrentOp|
|00005060| 74 69 6f 6e 7c 20 68 65 | 72 65 5c 6c 64 6f 74 73 |tion| he|re\ldots|
|00005070| 20 28 63 68 61 6e 67 65 | 64 20 74 6f 0a 25 20 7c | (change|d to.% ||
|00005080| 5c 72 65 73 65 72 76 65 | 64 40 62 7c 2e 29 0a 25 |\reserve|d@b|.).%|
|00005090| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 32 79 7d | \change|s{v0.2y}|
|000050a0| 7b 31 39 39 34 2f 30 32 | 2f 30 37 7d 0a 25 20 20 |{1994/02|/07}.% |
|000050b0| 20 20 20 20 20 20 20 7b | 41 64 64 20 65 78 74 72 | {|Add extr|
|000050c0| 61 20 2c 73 20 73 6f 20 | 60 74 77 6f 27 20 69 73 |a ,s so |`two' is|
|000050d0| 20 6e 6f 74 20 6d 61 74 | 63 68 65 64 20 77 69 74 | not mat|ched wit|
|000050e0| 68 20 60 74 77 6f 63 6f | 6c 75 6d 6e 27 7d 0a 25 |h `twoco|lumn'}.%|
|000050f0| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00005100| 63 6f 64 65 7d 0a 5c 64 | 65 66 5c 40 69 66 40 70 |code}.\d|ef\@if@p|
|00005110| 74 69 40 6e 73 23 31 23 | 32 7b 25 0a 20 20 5c 6c |ti@ns#1#|2{%. \l|
|00005120| 65 74 5c 72 65 73 65 72 | 76 65 64 40 61 5c 40 66 |et\reser|ved@a\@f|
|00005130| 69 72 73 74 6f 66 74 77 | 6f 0a 20 20 5c 40 66 6f |irstoftw|o. \@fo|
|00005140| 72 5c 72 65 73 65 72 76 | 65 64 40 62 3a 3d 23 32 |r\reserv|ed@b:=#2|
|00005150| 5c 64 6f 7b 25 0a 20 20 | 20 20 5c 65 78 70 61 6e |\do{%. | \expan|
|00005160| 64 61 66 74 65 72 5c 69 | 6e 40 5c 65 78 70 61 6e |dafter\i|n@\expan|
|00005170| 64 61 66 74 65 72 7b 5c | 65 78 70 61 6e 64 61 66 |dafter{\|expandaf|
|00005180| 74 65 72 2c 5c 72 65 73 | 65 72 76 65 64 40 62 2c |ter,\res|erved@b,|
|00005190| 7d 7b 2c 23 31 2c 7d 25 | 0a 20 20 20 20 5c 69 66 |}{,#1,}%|. \if|
|000051a0| 69 6e 40 5c 65 6c 73 65 | 5c 6c 65 74 5c 72 65 73 |in@\else|\let\res|
|000051b0| 65 72 76 65 64 40 61 5c | 40 73 65 63 6f 6e 64 6f |erved@a\|@secondo|
|000051c0| 66 74 77 6f 5c 66 69 7d | 25 0a 20 20 5c 72 65 73 |ftwo\fi}|%. \res|
|000051d0| 65 72 76 65 64 40 61 7d | 0a 5c 40 6f 6e 6c 79 70 |erved@a}|.\@onlyp|
|000051e0| 72 65 61 6d 62 6c 65 5c | 40 69 66 40 70 74 69 40 |reamble\|@if@pti@|
|000051f0| 6e 73 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |ns.% |\end{mac|
|00005200| 72 6f 63 6f 64 65 7d 0a | 25 20 5c 65 6e 64 7b 6d |rocode}.|% \end{m|
|00005210| 61 63 72 6f 7d 0a 25 20 | 5c 65 6e 64 7b 6d 61 63 |acro}.% |\end{mac|
|00005220| 72 6f 7d 0a 25 0a 25 20 | 5c 62 65 67 69 6e 7b 6d |ro}.%.% |\begin{m|
|00005230| 61 63 72 6f 7d 7b 5c 50 | 72 6f 76 69 64 65 73 50 |acro}{\P|rovidesP|
|00005240| 61 63 6b 61 67 65 7d 0a | 25 20 20 20 20 43 68 65 |ackage}.|% Che|
|00005250| 63 6b 73 20 74 68 61 74 | 20 74 68 65 20 63 75 72 |cks that| the cur|
|00005260| 72 65 6e 74 20 66 69 6c | 65 6e 61 6d 65 20 69 73 |rent fil|ename is|
|00005270| 20 63 6f 72 72 65 63 74 | 2c 20 61 6e 64 20 64 65 | correct|, and de|
|00005280| 66 69 6e 65 73 0a 25 20 | 20 20 20 7c 5c 76 65 72 |fines.% | |\ver|
|00005290| 40 66 69 6c 65 6e 61 6d | 65 7c 2e 0a 25 20 5c 63 |@filenam|e|..% \c|
|000052a0| 68 61 6e 67 65 73 7b 76 | 30 2e 33 63 7d 7b 31 39 |hanges{v|0.3c}{19|
|000052b0| 39 34 2f 30 33 2f 31 32 | 7d 0a 25 20 20 20 20 20 |94/03/12|}.% |
|000052c0| 20 20 20 20 7b 41 64 64 | 20 5c 63 6d 64 7b 5c 77 | {Add| \cmd{\w|
|000052d0| 6c 6f 67 7d 7d 0a 25 20 | 5c 63 68 61 6e 67 65 73 |log}}.% |\changes|
|000052e0| 7b 76 30 2e 33 63 7d 7b | 31 39 39 34 2f 30 33 2f |{v0.3c}{|1994/03/|
|000052f0| 31 32 7d 0a 25 20 20 20 | 20 20 20 20 20 20 7b 75 |12}.% | {u|
|00005300| 73 65 20 5c 63 6d 64 7b | 5c 40 67 74 65 6d 70 61 |se \cmd{|\@gtempa|
|00005310| 7d 7d 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |}}.% |\begin{m|
|00005320| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 64 65 66 5c 50 |acrocode|}.\def\P|
|00005330| 72 6f 76 69 64 65 73 50 | 61 63 6b 61 67 65 23 31 |rovidesP|ackage#1|
|00005340| 7b 25 0a 20 20 5c 78 64 | 65 66 5c 40 67 74 65 6d |{%. \xd|ef\@gtem|
|00005350| 70 61 7b 23 31 7d 25 0a | 20 20 5c 69 66 78 5c 40 |pa{#1}%.| \ifx\@|
|00005360| 67 74 65 6d 70 61 5c 40 | 63 75 72 72 6e 61 6d 65 |gtempa\@|currname|
|00005370| 5c 65 6c 73 65 0a 20 20 | 20 20 5c 40 6c 61 74 65 |\else. | \@late|
|00005380| 78 40 77 61 72 6e 69 6e | 67 40 6e 6f 40 6c 69 6e |x@warnin|g@no@lin|
|00005390| 65 7b 59 6f 75 20 68 61 | 76 65 20 72 65 71 75 65 |e{You ha|ve reque|
|000053a0| 73 74 65 64 0a 20 20 20 | 20 20 20 5c 40 63 6c 73 |sted. | \@cls|
|000053b0| 40 70 6b 67 5c 73 70 61 | 63 65 60 5c 40 63 75 72 |@pkg\spa|ce`\@cur|
|000053c0| 72 6e 61 6d 65 27 2c 5c | 4d 65 73 73 61 67 65 42 |rname',\|MessageB|
|000053d0| 72 65 61 6b 0a 20 20 20 | 20 20 20 20 62 75 74 20 |reak. | but |
|000053e0| 74 68 65 20 5c 40 63 6c | 73 40 70 6b 67 5c 73 70 |the \@cl|s@pkg\sp|
|000053f0| 61 63 65 20 70 72 6f 76 | 69 64 65 73 20 60 23 31 |ace prov|ides `#1|
|00005400| 27 7d 25 0a 20 20 5c 66 | 69 0a 20 20 5c 40 69 66 |'}%. \f|i. \@if|
|00005410| 6e 65 78 74 63 68 61 72 | 5b 5c 40 70 72 40 76 69 |nextchar|[\@pr@vi|
|00005420| 64 65 70 61 63 6b 61 67 | 65 7b 5c 40 70 72 40 76 |depackag|e{\@pr@v|
|00005430| 69 64 65 70 61 63 6b 61 | 67 65 5b 5d 7d 7d 25 5d |idepacka|ge[]}}%]|
|00005440| 0a 5c 40 6f 6e 6c 79 70 | 72 65 61 6d 62 6c 65 5c |.\@onlyp|reamble\|
|00005450| 50 72 6f 76 69 64 65 73 | 50 61 63 6b 61 67 65 0a |Provides|Package.|
|00005460| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00005470| 6f 64 65 7d 0a 25 0a 25 | 20 20 20 20 5c 62 65 67 |ode}.%.%| \beg|
|00005480| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 64 |in{macro|code}.\d|
|00005490| 65 66 5c 40 70 72 40 76 | 69 64 65 70 61 63 6b 61 |ef\@pr@v|idepacka|
|000054a0| 67 65 5b 23 31 5d 7b 25 | 0a 20 20 5c 65 78 70 61 |ge[#1]{%|. \expa|
|000054b0| 6e 64 61 66 74 65 72 5c | 78 64 65 66 5c 63 73 6e |ndafter\|xdef\csn|
|000054c0| 61 6d 65 20 76 65 72 40 | 5c 40 63 75 72 72 6e 61 |ame ver@|\@currna|
|000054d0| 6d 65 2e 5c 40 63 75 72 | 72 65 78 74 5c 65 6e 64 |me.\@cur|rext\end|
|000054e0| 63 73 6e 61 6d 65 7b 23 | 31 7d 25 0a 20 20 5c 69 |csname{#|1}%. \i|
|000054f0| 66 78 5c 40 63 75 72 72 | 65 78 74 5c 40 63 6c 73 |fx\@curr|ext\@cls|
|00005500| 65 78 74 65 6e 73 69 6f | 6e 0a 20 20 20 20 5c 74 |extensio|n. \t|
|00005510| 79 70 65 6f 75 74 7b 44 | 6f 63 75 6d 65 6e 74 20 |ypeout{D|ocument |
|00005520| 43 6c 61 73 73 3a 20 5c | 40 67 74 65 6d 70 61 5c |Class: \|@gtempa\|
|00005530| 73 70 61 63 65 23 31 7d | 25 0a 20 20 5c 65 6c 73 |space#1}|%. \els|
|00005540| 65 0a 20 20 20 20 5c 77 | 6c 6f 67 7b 50 61 63 6b |e. \w|log{Pack|
|00005550| 61 67 65 3a 20 5c 40 67 | 74 65 6d 70 61 5c 73 70 |age: \@g|tempa\sp|
|00005560| 61 63 65 23 31 7d 25 0a | 20 20 5c 66 69 7d 0a 5c |ace#1}%.| \fi}.\|
|00005570| 40 6f 6e 6c 79 70 72 65 | 61 6d 62 6c 65 5c 40 70 |@onlypre|amble\@p|
|00005580| 72 40 76 69 64 65 70 61 | 63 6b 61 67 65 0a 25 20 |r@videpa|ckage.% |
|00005590| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|000055a0| 65 7d 0a 25 20 5c 65 6e | 64 7b 6d 61 63 72 6f 7d |e}.% \en|d{macro}|
|000055b0| 0a 25 0a 25 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |.%.% \be|gin{macr|
|000055c0| 6f 7d 7b 5c 50 72 6f 76 | 69 64 65 73 43 6c 61 73 |o}{\Prov|idesClas|
|000055d0| 73 7d 0a 25 20 20 20 20 | 4c 69 6b 65 20 7c 5c 50 |s}.% |Like |\P|
|000055e0| 72 6f 76 69 64 65 73 50 | 61 63 6b 61 67 65 7c 2c |rovidesP|ackage|,|
|000055f0| 20 62 75 74 20 66 6f 72 | 20 63 6c 61 73 73 65 73 | but for| classes|
|00005600| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00005610| 63 72 6f 63 6f 64 65 7d | 0a 5c 6c 65 74 5c 50 72 |crocode}|.\let\Pr|
|00005620| 6f 76 69 64 65 73 43 6c | 61 73 73 5c 50 72 6f 76 |ovidesCl|ass\Prov|
|00005630| 69 64 65 73 50 61 63 6b | 61 67 65 0a 5c 40 6f 6e |idesPack|age.\@on|
|00005640| 6c 79 70 72 65 61 6d 62 | 6c 65 5c 50 72 6f 76 69 |lypreamb|le\Provi|
|00005650| 64 65 73 43 6c 61 73 73 | 0a 25 20 20 20 20 5c 65 |desClass|.% \e|
|00005660| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 20 |nd{macro|code}.% |
|00005670| 5c 65 6e 64 7b 6d 61 63 | 72 6f 7d 0a 25 0a 25 20 |\end{mac|ro}.%.% |
|00005680| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 5c 50 |\begin{m|acro}{\P|
|00005690| 72 6f 76 69 64 65 73 46 | 69 6c 65 7d 0a 25 20 20 |rovidesF|ile}.% |
|000056a0| 20 20 4c 69 6b 65 20 7c | 5c 50 72 6f 76 69 64 65 | Like ||\Provide|
|000056b0| 73 50 61 63 6b 61 67 65 | 7c 2c 20 62 75 74 20 66 |sPackage||, but f|
|000056c0| 6f 72 20 61 72 62 69 74 | 72 61 72 79 20 66 69 6c |or arbit|rary fil|
|000056d0| 65 73 2e 20 44 6f 20 6e | 6f 74 20 61 70 70 6c 79 |es. Do n|ot apply|
|000056e0| 0a 25 20 20 20 20 7c 5c | 40 6f 6e 6c 79 70 72 65 |.% |\|@onlypre|
|000056f0| 61 6d 62 6c 65 7c 20 74 | 6f 20 74 68 65 73 65 2c |amble| t|o these,|
|00005700| 20 61 73 20 77 65 20 6d | 61 79 20 77 61 6e 74 20 | as we m|ay want |
|00005710| 74 6f 20 6c 61 62 65 6c | 20 66 69 6c 65 73 20 69 |to label| files i|
|00005720| 6e 70 75 74 0a 25 20 20 | 20 20 64 75 72 69 6e 67 |nput.% | during|
|00005730| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 2e 0a 25 | the doc|ument..%|
|00005740| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 32 6c 7d | \change|s{v0.2l}|
|00005750| 7b 31 39 39 33 2f 31 32 | 2f 30 37 7d 0a 25 20 20 |{1993/12|/07}.% |
|00005760| 20 20 20 20 20 20 20 7b | 4d 61 63 72 6f 20 61 64 | {|Macro ad|
|00005770| 64 65 64 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |ded}.% \|changes{|
|00005780| 76 30 2e 33 63 7d 7b 31 | 39 39 34 2f 30 33 2f 31 |v0.3c}{1|994/03/1|
|00005790| 32 7d 0a 25 20 20 20 20 | 20 20 20 20 20 7b 41 64 |2}.% | {Ad|
|000057a0| 64 20 5c 63 6d 64 7b 5c | 77 6c 6f 67 7d 7d 0a 25 |d \cmd{\|wlog}}.%|
|000057b0| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 33 67 7d | \change|s{v0.3g}|
|000057c0| 7b 31 39 39 34 2f 30 34 | 2f 31 31 7d 0a 25 20 20 |{1994/04|/11}.% |
|000057d0| 20 20 20 20 20 20 20 7b | 50 72 6f 74 65 63 74 20 | {|Protect |
|000057e0| 61 67 61 69 6e 73 74 20 | 77 65 69 72 64 20 63 61 |against |weird ca|
|000057f0| 74 63 6f 64 65 73 2e 7d | 0a 25 20 20 20 20 5c 62 |tcodes.}|.% \b|
|00005800| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00005810| 5c 64 65 66 5c 50 72 6f | 76 69 64 65 73 46 69 6c |\def\Pro|videsFil|
|00005820| 65 23 31 7b 25 0a 20 20 | 5c 62 65 67 69 6e 67 72 |e#1{%. |\begingr|
|00005830| 6f 75 70 0a 20 20 20 20 | 5c 63 61 74 63 6f 64 65 |oup. |\catcode|
|00005840| 60 5c 20 31 30 20 25 0a | 20 20 20 20 5c 40 6d 61 |`\ 10 %.| \@ma|
|00005850| 6b 65 6f 74 68 65 72 5c | 2f 25 0a 20 20 20 20 5c |keother\|/%. \|
|00005860| 40 69 66 6e 65 78 74 63 | 68 61 72 5b 7b 5c 40 70 |@ifnextc|har[{\@p|
|00005870| 72 6f 76 69 64 65 73 66 | 69 6c 65 7b 23 31 7d 7d |rovidesf|ile{#1}}|
|00005880| 7b 5c 40 70 72 6f 76 69 | 64 65 73 66 69 6c 65 7b |{\@provi|desfile{|
|00005890| 23 31 7d 5b 5d 7d 7d 0a | 25 20 20 20 20 5c 65 6e |#1}[]}}.|% \en|
|000058a0| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 0a 25 |d{macroc|ode}.%.%|
|000058b0| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|000058c0| 63 6f 64 65 7d 0a 5c 64 | 65 66 5c 40 70 72 6f 76 |code}.\d|ef\@prov|
|000058d0| 69 64 65 73 66 69 6c 65 | 23 31 5b 23 32 5d 7b 25 |idesfile|#1[#2]{%|
|000058e0| 0a 20 20 20 20 5c 77 6c | 6f 67 7b 46 69 6c 65 3a |. \wl|og{File:|
|000058f0| 20 23 31 20 23 32 7d 25 | 0a 20 20 20 20 5c 65 78 | #1 #2}%|. \ex|
|00005900| 70 61 6e 64 61 66 74 65 | 72 5c 78 64 65 66 5c 63 |pandafte|r\xdef\c|
|00005910| 73 6e 61 6d 65 20 76 65 | 72 40 23 31 5c 65 6e 64 |sname ve|r@#1\end|
|00005920| 63 73 6e 61 6d 65 7b 23 | 32 7d 25 0a 20 20 5c 65 |csname{#|2}%. \e|
|00005930| 6e 64 67 72 6f 75 70 7d | 0a 25 20 20 20 20 5c 65 |ndgroup}|.% \e|
|00005940| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 20 |nd{macro|code}.% |
|00005950| 5c 65 6e 64 7b 6d 61 63 | 72 6f 7d 0a 25 0a 25 20 |\end{mac|ro}.%.% |
|00005960| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 5c 50 |\begin{m|acro}{\P|
|00005970| 61 73 73 4f 70 74 69 6f | 6e 73 54 6f 50 61 63 6b |assOptio|nsToPack|
|00005980| 61 67 65 7d 0a 25 20 5c | 62 65 67 69 6e 7b 6d 61 |age}.% \|begin{ma|
|00005990| 63 72 6f 7d 7b 5c 50 61 | 73 73 4f 70 74 69 6f 6e |cro}{\Pa|ssOption|
|000059a0| 73 54 6f 43 6c 61 73 73 | 7d 0a 25 20 49 66 20 74 |sToClass|}.% If t|
|000059b0| 68 65 20 70 61 63 6b 61 | 67 65 20 68 61 73 20 62 |he packa|ge has b|
|000059c0| 65 65 6e 20 6c 6f 61 64 | 65 64 2c 20 77 65 20 63 |een load|ed, we c|
|000059d0| 68 65 63 6b 20 74 68 61 | 74 20 69 74 20 77 61 73 |heck tha|t it was|
|000059e0| 20 66 69 72 73 74 20 6c | 6f 61 64 65 64 20 77 69 | first l|oaded wi|
|000059f0| 74 68 0a 25 20 74 68 65 | 20 6f 70 74 69 6f 6e 73 |th.% the| options|
|00005a00| 2e 20 20 4f 74 68 65 72 | 77 69 73 65 20 77 65 20 |. Other|wise we |
|00005a10| 61 64 64 20 74 68 65 20 | 6f 70 74 69 6f 6e 20 6c |add the |option l|
|00005a20| 69 73 74 20 74 6f 20 74 | 68 61 74 20 6f 66 20 74 |ist to t|hat of t|
|00005a30| 68 65 20 70 61 63 6b 61 | 67 65 2e 0a 25 20 20 20 |he packa|ge..% |
|00005a40| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|00005a50| 65 7d 0a 5c 64 65 66 5c | 40 70 61 73 73 40 70 74 |e}.\def\|@pass@pt|
|00005a60| 69 6f 6e 73 23 31 23 32 | 23 33 7b 25 0a 20 20 5c |ions#1#2|#3{%. \|
|00005a70| 65 78 70 61 6e 64 61 66 | 74 65 72 5c 78 64 65 66 |expandaf|ter\xdef|
|00005a80| 5c 63 73 6e 61 6d 65 20 | 6f 70 74 40 23 33 2e 23 |\csname |opt@#3.#|
|00005a90| 31 5c 65 6e 64 63 73 6e | 61 6d 65 7b 25 0a 20 20 |1\endcsn|ame{%. |
|00005aa0| 20 20 5c 40 69 66 75 6e | 64 65 66 69 6e 65 64 7b | \@ifun|defined{|
|00005ab0| 6f 70 74 40 23 33 2e 23 | 31 7d 5c 40 65 6d 70 74 |opt@#3.#|1}\@empt|
|00005ac0| 79 0a 20 20 20 20 20 20 | 7b 5c 63 73 6e 61 6d 65 |y. |{\csname|
|00005ad0| 20 6f 70 74 40 23 33 2e | 23 31 5c 65 6e 64 63 73 | opt@#3.|#1\endcs|
|00005ae0| 6e 61 6d 65 2c 7d 25 0a | 20 20 20 20 5c 7a 61 70 |name,}%.| \zap|
|00005af0| 40 73 70 61 63 65 23 32 | 20 5c 40 65 6d 70 74 79 |@space#2| \@empty|
|00005b00| 7d 7d 0a 5c 40 6f 6e 6c | 79 70 72 65 61 6d 62 6c |}}.\@onl|ypreambl|
|00005b10| 65 5c 40 70 61 73 73 40 | 70 74 69 6f 6e 73 0a 25 |e\@pass@|ptions.%|
|00005b20| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00005b30| 64 65 7d 0a 25 0a 25 20 | 20 20 20 5c 62 65 67 69 |de}.%.% | \begi|
|00005b40| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00005b50| 66 5c 50 61 73 73 4f 70 | 74 69 6f 6e 73 54 6f 50 |f\PassOp|tionsToP|
|00005b60| 61 63 6b 61 67 65 7b 5c | 40 70 61 73 73 40 70 74 |ackage{\|@pass@pt|
|00005b70| 69 6f 6e 73 5c 40 70 6b | 67 65 78 74 65 6e 73 69 |ions\@pk|gextensi|
|00005b80| 6f 6e 7d 0a 5c 64 65 66 | 5c 50 61 73 73 4f 70 74 |on}.\def|\PassOpt|
|00005b90| 69 6f 6e 73 54 6f 43 6c | 61 73 73 7b 5c 40 70 61 |ionsToCl|ass{\@pa|
|00005ba0| 73 73 40 70 74 69 6f 6e | 73 5c 40 63 6c 73 65 78 |ss@ption|s\@clsex|
|00005bb0| 74 65 6e 73 69 6f 6e 7d | 0a 5c 40 6f 6e 6c 79 70 |tension}|.\@onlyp|
|00005bc0| 72 65 61 6d 62 6c 65 5c | 50 61 73 73 4f 70 74 69 |reamble\|PassOpti|
|00005bd0| 6f 6e 73 54 6f 50 61 63 | 6b 61 67 65 0a 5c 40 6f |onsToPac|kage.\@o|
|00005be0| 6e 6c 79 70 72 65 61 6d | 62 6c 65 5c 50 61 73 73 |nlypream|ble\Pass|
|00005bf0| 4f 70 74 69 6f 6e 73 54 | 6f 43 6c 61 73 73 0a 25 |OptionsT|oClass.%|
|00005c00| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00005c10| 64 65 7d 0a 25 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |de}.% \e|nd{macro|
|00005c20| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|00005c30| 25 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |%.% \beg|in{macro|
|00005c40| 7d 7b 5c 44 65 63 6c 61 | 72 65 4f 70 74 69 6f 6e |}{\Decla|reOption|
|00005c50| 7d 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |}.% \beg|in{macro|
|00005c60| 7d 7b 5c 44 65 63 6c 61 | 72 65 4f 70 74 69 6f 6e |}{\Decla|reOption|
|00005c70| 2a 7d 0a 25 20 20 20 20 | 41 64 64 73 20 61 6e 20 |*}.% |Adds an |
|00005c80| 6f 70 74 69 6f 6e 20 61 | 73 20 61 20 7c 5c 64 73 |option a|s a |\ds|
|00005c90| 40 7c 20 63 6f 6d 6d 61 | 6e 64 2c 20 6f 72 20 74 |@| comma|nd, or t|
|00005ca0| 68 65 20 64 65 66 61 75 | 6c 74 20 7c 5c 64 65 66 |he defau|lt |\def|
|00005cb0| 61 75 6c 74 40 64 73 7c | 0a 25 20 20 20 20 63 6f |ault@ds||.% co|
|00005cc0| 6d 6d 61 6e 64 2e 0a 25 | 20 5c 63 68 61 6e 67 65 |mmand..%| \change|
|00005cd0| 73 7b 76 30 2e 32 63 7d | 7b 31 39 39 33 2f 31 31 |s{v0.2c}|{1993/11|
|00005ce0| 2f 31 37 7d 0a 25 20 20 | 20 20 20 20 20 20 20 7b |/17}.% | {|
|00005cf0| 45 72 72 6f 72 20 63 68 | 65 63 6b 69 6e 67 20 61 |Error ch|ecking a|
|00005d00| 64 64 65 64 7d 0a 25 20 | 20 20 20 5c 62 65 67 69 |dded}.% | \begi|
|00005d10| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00005d20| 66 5c 44 65 63 6c 61 72 | 65 4f 70 74 69 6f 6e 7b |f\Declar|eOption{|
|00005d30| 25 0a 20 20 5c 6c 65 74 | 5c 40 66 69 6c 65 73 77 |%. \let|\@filesw|
|00005d40| 69 74 68 40 70 74 69 40 | 6e 73 5c 40 62 61 64 72 |ith@pti@|ns\@badr|
|00005d50| 65 71 75 69 72 65 65 72 | 72 6f 72 0a 20 20 5c 40 |equireer|ror. \@|
|00005d60| 69 66 73 74 61 72 7b 5c | 40 64 65 66 64 65 66 61 |ifstar{\|@defdefa|
|00005d70| 75 6c 74 40 64 73 7d 5c | 40 64 65 63 6c 61 72 65 |ult@ds}\|@declare|
|00005d80| 6f 70 74 69 6f 6e 7d 0a | 5c 64 65 66 5c 40 64 65 |option}.|\def\@de|
|00005d90| 63 6c 61 72 65 6f 70 74 | 69 6f 6e 23 31 23 32 7b |clareopt|ion#1#2{|
|00005da0| 25 0a 20 20 20 5c 78 64 | 65 66 5c 40 64 65 63 6c |%. \xd|ef\@decl|
|00005db0| 61 72 65 64 6f 70 74 69 | 6f 6e 73 7b 5c 40 64 65 |aredopti|ons{\@de|
|00005dc0| 63 6c 61 72 65 64 6f 70 | 74 69 6f 6e 73 2c 23 31 |claredop|tions,#1|
|00005dd0| 7d 25 0a 20 20 20 5c 40 | 6e 61 6d 65 64 65 66 7b |}%. \@|namedef{|
|00005de0| 64 73 40 23 31 7d 7b 23 | 32 7d 7d 0a 5c 64 65 66 |ds@#1}{#|2}}.\def|
|00005df0| 5c 40 64 65 66 64 65 66 | 61 75 6c 74 40 64 73 23 |\@defdef|ault@ds#|
|00005e00| 31 7b 5c 64 65 66 5c 64 | 65 66 61 75 6c 74 40 64 |1{\def\d|efault@d|
|00005e10| 73 7b 23 31 7d 7d 0a 5c | 40 6f 6e 6c 79 70 72 65 |s{#1}}.\|@onlypre|
|00005e20| 61 6d 62 6c 65 5c 44 65 | 63 6c 61 72 65 4f 70 74 |amble\De|clareOpt|
|00005e30| 69 6f 6e 0a 5c 40 6f 6e | 6c 79 70 72 65 61 6d 62 |ion.\@on|lypreamb|
|00005e40| 6c 65 5c 40 64 65 63 6c | 61 72 65 6f 70 74 69 6f |le\@decl|areoptio|
|00005e50| 6e 0a 5c 40 6f 6e 6c 79 | 70 72 65 61 6d 62 6c 65 |n.\@only|preamble|
|00005e60| 5c 40 64 65 66 64 65 66 | 61 75 6c 74 40 64 73 0a |\@defdef|ault@ds.|
|00005e70| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00005e80| 6f 64 65 7d 0a 25 20 5c | 65 6e 64 7b 6d 61 63 72 |ode}.% \|end{macr|
|00005e90| 6f 7d 0a 25 20 5c 65 6e | 64 7b 6d 61 63 72 6f 7d |o}.% \en|d{macro}|
|00005ea0| 0a 25 0a 25 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |.%.% \be|gin{macr|
|00005eb0| 6f 7d 7b 5c 4f 70 74 69 | 6f 6e 4e 6f 74 55 73 65 |o}{\Opti|onNotUse|
|00005ec0| 64 7d 0a 25 20 49 66 20 | 77 65 20 61 72 65 20 69 |d}.% If |we are i|
|00005ed0| 6e 20 61 20 63 6c 61 73 | 73 20 66 69 6c 65 2c 20 |n a clas|s file, |
|00005ee0| 61 64 64 20 7c 5c 43 75 | 72 72 65 6e 74 4f 70 74 |add |\Cu|rrentOpt|
|00005ef0| 69 6f 6e 7c 20 74 6f 20 | 74 68 65 20 6c 69 73 74 |ion| to |the list|
|00005f00| 20 6f 66 0a 25 20 75 6e | 75 73 65 64 20 6f 70 74 | of.% un|used opt|
|00005f10| 69 6f 6e 73 2e 20 4f 74 | 68 65 72 77 69 73 65 2c |ions. Ot|herwise,|
|00005f20| 20 69 6e 20 61 20 70 61 | 63 6b 61 67 65 20 66 69 | in a pa|ckage fi|
|00005f30| 6c 65 20 64 6f 20 6e 6f | 74 68 69 6e 67 2e 0a 25 |le do no|thing..%|
|00005f40| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00005f50| 63 6f 64 65 7d 0a 5c 64 | 65 66 5c 4f 70 74 69 6f |code}.\d|ef\Optio|
|00005f60| 6e 4e 6f 74 55 73 65 64 | 7b 25 0a 20 20 5c 69 66 |nNotUsed|{%. \if|
|00005f70| 78 5c 40 63 75 72 72 65 | 78 74 5c 40 63 6c 73 65 |x\@curre|xt\@clse|
|00005f80| 78 74 65 6e 73 69 6f 6e | 0a 20 20 20 20 5c 78 64 |xtension|. \xd|
|00005f90| 65 66 5c 40 75 6e 75 73 | 65 64 6f 70 74 69 6f 6e |ef\@unus|edoption|
|00005fa0| 6c 69 73 74 7b 25 0a 20 | 20 20 20 20 20 5c 69 66 |list{%. | \if|
|00005fb0| 78 5c 40 75 6e 75 73 65 | 64 6f 70 74 69 6f 6e 6c |x\@unuse|doptionl|
|00005fc0| 69 73 74 5c 40 65 6d 70 | 74 79 5c 65 6c 73 65 5c |ist\@emp|ty\else\|
|00005fd0| 40 75 6e 75 73 65 64 6f | 70 74 69 6f 6e 6c 69 73 |@unusedo|ptionlis|
|00005fe0| 74 2c 5c 66 69 0a 20 20 | 20 20 20 20 5c 43 75 72 |t,\fi. | \Cur|
|00005ff0| 72 65 6e 74 4f 70 74 69 | 6f 6e 7d 25 0a 20 20 5c |rentOpti|on}%. \|
|00006000| 66 69 7d 0a 5c 40 6f 6e | 6c 79 70 72 65 61 6d 62 |fi}.\@on|lypreamb|
|00006010| 6c 65 5c 4f 70 74 69 6f | 6e 4e 6f 74 55 73 65 64 |le\Optio|nNotUsed|
|00006020| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|00006030| 63 6f 64 65 7d 0a 25 20 | 5c 65 6e 64 7b 6d 61 63 |code}.% |\end{mac|
|00006040| 72 6f 7d 0a 25 0a 25 20 | 5c 62 65 67 69 6e 7b 6d |ro}.%.% |\begin{m|
|00006050| 61 63 72 6f 7d 7b 5c 64 | 65 66 61 75 6c 74 40 64 |acro}{\d|efault@d|
|00006060| 73 7d 0a 25 20 54 68 65 | 20 64 65 66 61 75 6c 74 |s}.% The| default|
|00006070| 20 64 65 66 61 75 6c 74 | 20 6f 70 74 69 6f 6e 20 | default| option |
|00006080| 63 6f 64 65 2e 0a 25 20 | 53 65 74 20 62 79 20 7c |code..% |Set by ||
|00006090| 5c 40 6f 6e 65 66 69 6c | 65 77 69 74 68 6f 70 74 |\@onefil|ewithopt|
|000060a0| 69 6f 6e 73 7c 20 74 6f | 20 65 69 74 68 65 72 20 |ions| to| either |
|000060b0| 7c 5c 4f 70 74 69 6f 6e | 4e 6f 74 55 73 65 64 7c ||\Option|NotUsed||
|000060c0| 20 66 6f 72 0a 25 20 63 | 6c 61 73 73 65 73 2c 20 | for.% c|lasses, |
|000060d0| 6f 72 20 7c 5c 40 75 6e | 6b 6e 6f 77 6e 6f 70 74 |or |\@un|knownopt|
|000060e0| 69 6f 6e 65 72 72 6f 72 | 7c 20 66 6f 72 20 70 61 |ionerror|| for pa|
|000060f0| 63 6b 61 67 65 73 2e 20 | 54 68 69 73 20 6d 61 79 |ckages. |This may|
|00006100| 20 62 65 20 72 65 73 65 | 74 0a 25 20 69 6e 20 65 | be rese|t.% in e|
|00006110| 69 74 68 65 72 20 63 61 | 73 65 20 77 69 74 68 20 |ither ca|se with |
|00006120| 7c 5c 44 65 63 6c 61 72 | 65 4f 70 74 69 6f 6e 2a ||\Declar|eOption*|
|00006130| 7c 2e 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d ||..% |\begin{m|
|00006140| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 20 5c 6c 65 74 |acrocode|}.% \let|
|00006150| 5c 64 65 66 61 75 6c 74 | 40 64 73 5c 4f 70 74 69 |\default|@ds\Opti|
|00006160| 6f 6e 4e 6f 74 55 73 65 | 64 0a 25 20 20 20 20 5c |onNotUse|d.% \|
|00006170| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00006180| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 0a 25 | \end{ma|cro}.%.%|
|00006190| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 7d 7b 5c | \begin{|macro}{\|
|000061a0| 50 72 6f 63 65 73 73 4f | 70 74 69 6f 6e 73 7d 0a |ProcessO|ptions}.|
|000061b0| 25 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b |% \begin|{macro}{|
|000061c0| 5c 50 72 6f 63 65 73 73 | 4f 70 74 69 6f 6e 73 2a |\Process|Options*|
|000061d0| 7d 0a 25 20 7c 5c 50 72 | 6f 63 65 73 73 4f 70 74 |}.% |\Pr|ocessOpt|
|000061e0| 69 6f 6e 73 7c 20 63 61 | 6c 6c 73 20 7c 5c 64 73 |ions| ca|lls |\ds|
|000061f0| 40 6f 70 74 69 6f 6e 7c | 20 66 6f 72 20 65 61 63 |@option|| for eac|
|00006200| 68 20 6b 6e 6f 77 6e 20 | 70 61 63 6b 61 67 65 20 |h known |package |
|00006210| 6f 70 74 69 6f 6e 2c 0a | 25 20 74 68 65 6e 20 63 |option,.|% then c|
|00006220| 61 6c 6c 73 20 7c 5c 64 | 65 66 61 75 6c 74 40 64 |alls |\d|efault@d|
|00006230| 73 7c 20 66 6f 72 20 65 | 61 63 68 20 6f 70 74 69 |s| for e|ach opti|
|00006240| 6f 6e 20 6f 6e 20 74 68 | 65 20 6c 6f 63 61 6c 20 |on on th|e local |
|00006250| 6f 70 74 69 6f 6e 73 20 | 6c 69 73 74 2e 0a 25 20 |options |list..% |
|00006260| 46 69 6e 61 6c 6c 79 20 | 72 65 73 65 74 73 20 61 |Finally |resets a|
|00006270| 6c 6c 20 74 68 65 20 64 | 65 63 6c 61 72 65 64 20 |ll the d|eclared |
|00006280| 6f 70 74 69 6f 6e 73 20 | 74 6f 20 7c 5c 72 65 6c |options |to |\rel|
|00006290| 61 78 7c 2e 20 54 68 65 | 20 65 6d 70 74 79 20 6f |ax|. The| empty o|
|000062a0| 70 74 69 6f 6e 0a 25 20 | 64 6f 65 73 20 6e 6f 74 |ption.% |does not|
|000062b0| 68 69 6e 67 2c 20 74 68 | 69 73 20 68 61 73 20 74 |hing, th|is has t|
|000062c0| 6f 20 62 65 20 72 65 73 | 65 74 20 6f 6e 20 74 68 |o be res|et on th|
|000062d0| 65 20 6f 66 66 20 63 68 | 61 6e 63 65 20 69 74 27 |e off ch|ance it'|
|000062e0| 73 20 73 65 74 20 74 6f | 0a 25 20 7c 5c 72 65 6c |s set to|.% |\rel|
|000062f0| 61 78 7c 20 69 66 20 61 | 6e 20 65 6d 70 74 79 20 |ax| if a|n empty |
|00006300| 65 6c 65 6d 65 6e 74 20 | 67 65 74 73 20 69 6e 74 |element |gets int|
|00006310| 6f 20 74 68 65 20 7c 5c | 40 64 65 63 6c 61 72 65 |o the |\|@declare|
|00006320| 64 6f 70 74 69 6f 6e 73 | 7c 20 6c 69 73 74 2e 0a |doptions|| list..|
|00006330| 25 0a 25 20 54 68 65 20 | 73 74 61 72 20 66 6f 72 |%.% The |star for|
|00006340| 6d 20 69 73 20 73 69 6d | 69 6c 61 72 20 62 75 74 |m is sim|ilar but|
|00006350| 20 65 78 65 63 75 74 65 | 73 20 6f 70 74 69 6f 6e | execute|s option|
|00006360| 73 20 67 69 76 65 6e 20 | 69 6e 20 74 68 65 20 6f |s given |in the o|
|00006370| 72 64 65 72 0a 25 20 73 | 70 65 63 69 66 69 65 64 |rder.% s|pecified|
|00006380| 20 69 6e 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 | in the |document|
|00006390| 2c 20 6e 6f 74 20 74 68 | 65 20 6f 72 64 65 72 20 |, not th|e order |
|000063a0| 74 68 65 79 20 61 72 65 | 20 64 65 63 6c 61 72 65 |they are| declare|
|000063b0| 64 20 69 6e 20 74 68 65 | 0a 25 20 66 69 6c 65 2e |d in the|.% file.|
|000063c0| 20 49 6e 20 74 68 65 20 | 63 61 73 65 20 6f 66 20 | In the |case of |
|000063d0| 70 61 63 6b 61 67 65 73 | 2c 20 67 6c 6f 62 61 6c |packages|, global|
|000063e0| 20 6f 70 74 69 6f 6e 73 | 20 61 72 65 20 65 78 65 | options| are exe|
|000063f0| 63 75 74 65 64 20 62 65 | 66 6f 72 65 0a 25 20 6c |cuted be|fore.% l|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.